Utilities – Extend Relations: Create body parameters
Version 7.0.2.0
There are two new functions that extend relations. The functions are listed in the Insert Function dialog, which opens in Parts and Assemblies mode in the Creo menu Tools > Relations with the functions button .
GT_UpdateBodyParamMass ("BodyParameter",optMultiplier,optDecimalPlaces)
A body parameter with the value of the body mass is created and updated for each body.
Example: GT_UpdateBodyParamMass ("MASSE", 0.001, 2)
–multiplies the body mass by 0.001 (the multiplier 0.001 is used to convert the default setting "kg" to "g")
–rounds to 2 decimal places
–writes the result into the parameter "MASS"
GT_UpdateBodyParamVolume ("BodyParameter",optMultiplier,optDecimalPlaces)
A body parameter with the value of the body volume is created and updated for each body.
Example: GT_UpdateBodyParamVolume ("VOLUME")
The entries optMultiplier and optDigitsAfterComma are optional. If they are not defined, optMultiplier is 1.0 and optDigitsAfterComma is not rounded.
You can disable the new features by setting the configuration options gtu_relationextension_updateBodyParamMass or gtu_relationextension_updateBodyParamVolume to 0.