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.

Rounding of weight

Hi all


Can you help me with this?


When making a drawing of a large assembly, the weight could be 78324,1 kg with the parameter &PRO_MP_MASS[0.1]. This implies that the weight calculation isvery accurate. And it is in the ProE world, but the "as built" weight will be somewhat different. Is there something to put in the brackets, that makes the weight read 78400?


AND... Is it possible tohave different rounding rules, based on weight intervals, combined into one "statement" to put in the weight cell in the dwr. format.


thks
 
About all you can do is, create a new part parameter, and set post regeneration relations to make it equal to the rounded value, in this case using ceil().

Something like "rounded_wt = ceil(pro_mass_prop/100)*100"

Then use rounded_wt in your note.




Edited by: gkbeer
 

Sponsor

Articles From 3DCAD World

Back
Top