Hallo,
schon mal in die Hilfe geschaut ? Was Du sucht ist
MassProperties.Mass
Dazu die Hilfe:
Zitat:
This property can be set to a desired custom value in which case the default calculated value will be overridden. The MassOverridden property will return a value of True to indicate that the mass value has been overridden. On the other hand, if the mass value is not overridden which will be indicated by the MassOverridden property returning a value of False, this property will return the calculated mass value of the model. Also, the MassOverridden can be set to False if the mass value needs to be reverted from the custom value to the calculated value.
A custom value for the mass can be specified using this property only if the IncludeCosmeticWelds and IncludeQuantityOverrides (for assemblies) properties are both False. If either the IncludeCosmeticWelds property or IncludeQuantityOverrides is True, setting a custom mass value using this property will fail.
HTH
------------------
Grüsse, Paul
Inventor-Programmierung, Inventor-Tools und Inventor API-Schulung
Meine Tochter auf Youtube
Eine Antwort auf diesen Beitrag verfassen (mit Zitat/Zitat des Beitrags) IP