Continue to Site

Welcome to MCAD Central

Join our MCAD Central community forums, the largest resource for MCAD (Mechanical Computer-Aided Design) professionals, including files, forums, jobs, articles, calendar, and more.

Creating both decimal/fraction dims

amar.junankar

New member
Hi,

I was trying to create an extrusion having a section with both decimal and fractional dimensions using Pro/Toolkit. Only way I could think of is to change create_fraction_dim option value. But, problem is that in a section I am able to create only decimal or only fractional dimensions.

One way is to create all decimal dimensions first, create extrusion feature, again
get the section, change value of create_fraction_dim and create remaining fractional dimensions.

Is there any other simple way? Is there any function in Pro/Toolkit to change dim type (as we can do manually using properties of dimensions).

Thanks,

Regards,
Amar
 
Hello Amar,


It is very good to explore the option in Pro-Toolkit,Do you have any requirement as you mentioned about the fracctionl representation of the dimensions.


I was checked there won't be any API to convert the decimal dimension into fractional.Even then how the user will input to the dimension, it is very difficult to give input in the fraction Pro-Engineer format,eg: 22-31/32 is equal to the decimal value22.96875 for the same will user give the factional format input for creation of simple extruison dimesnions. If user want to give the fraction input he has to give 22+31/32... is itaccptable for user input?





With regards,


Kishore V
 
Hi Kishor,<br style="font-family: Arial,Helvetica,sans-serif;"><br style="font-family: Arial,Helvetica,sans-serif;">Thanks for your kind reply and sorry for the confusion. I am creating dimensions only for display (not for modifying geometry by entering numerical values). Right now, I am considering only section geometry dimensions, which can be displayed using Edit on a feature using that section.<br style="font-family: Arial,Helvetica,sans-serif;"><br style="font-family: Arial,Helvetica,sans-serif;">But, in some cases, both decimal and fraction dimensions are preferred. E.g. if there is a line of length 22 31/32 or 22.96875, and if the create_fraction_dim is true, then dimension will be shown as 22 31/32 and if create_fraction_dim is false, then dimension will be shown as 22.96875.

Issue here is that when create_fraction_dim is modified while creating a section, it changes all the dimensions created to decimal/ fraction according to create_fraction_dim value. So one option is :When a feature is created like extrude using this section, then these section dimensions will be shown on the solid geometry and user can select a particular dimension and convert it into decimal/ fraction by Properties option. However I am not able to find a way to do this using Pro/Toolkit, as I didn't find any function to set decimal/ fraction display of a ProDimension object.

I hope this will clarify the issue I am facing.
Thank you again for your help.

Regards,
Amar
 

Sponsor

Back
Top