Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
To get the volume of a solid body (in a multibody part) with iLogic, I use the following code:
AddVbRule "SolidFunctions" Dim bodies as New SolidBodies(ThisDoc.Document) Contents = Round(bodies.Body("Solid1").Volume/10^9, 1) & " m³"
To get the mass of a solid body (in a multibody part) with iLogic, I use the following code:
materialDensity = ThisDoc.Document.ComponentDefinition.Material.Density Weight = Round(bodies.Body("Solid1").Volume * materialdensity/10^6 ,1) & " kg"
But what do I need to do to get the Surface Area of that Solid?
Thanks in advance!
Dominiek
Solved! Go to Solution.