Hi,
I would like to access the material and weight in my C# addin. Now I have the possibility to do this via the ComponentDefinition:
PartComponentDefinition.Material.Name
WeldmentComponentDefinition.Material.Name
Or via the iProperties:
PropertySets.Item(3).Item(10/38).Value
(design tracking properties, material / world material)
The same applies to the mass:
ComponentDefinition.MassProperties.Mass
PropertySets.Item(3).Item(39 "Mass").Value
What are the differences? Or what is the preferred way?
I believe when accessing the mass via the ComponentDefinition it is updated?
Solved! Go to Solution.
Solved by Michael.Navara. Go to Solution.
Few notes:
Can't find what you're looking for? Ask the community or share your knowledge.