jerry1423
Mechanical
- Aug 19, 2005
- 3,428
Below is what is the expression to create a weight part attribute. "mass" is equal to the expression from the body measurement feature that is the mass of the solid, in my case, mass=p38
weight_attribute = ug_setPartAttrValue("WEIGHT",format("%0.2f",mass))
In "%0.2f"
What is the symbol that comes before the zero?
The "2" is the number of decimal places.
What does the "f" refer to?
weight_attribute = ug_setPartAttrValue("WEIGHT",format("%0.2f",mass))
In "%0.2f"
What is the symbol that comes before the zero?
The "2" is the number of decimal places.
What does the "f" refer to?