How to calculate a volume, surface area and gravity center of a shape
5/29/2013
Version 0.13
Select [View]-[Views]-[Python console] in menu bar to display [Python console].
If you enter following commands, each value is displayed in the [Python console].
If you want to calculate a surface area : App.ActiveDocument.getObject("Your object name").Shape.Area
If you want to calculate a volume : App.ActiveDocument.getObject("Your object name").Shape.Volume
If you want to calculate a gravity center : App.ActiveDocument.getObject("Your object name").Shape.CenterOfMass
Note : If shape's ShapeType is "Compound", a gravity center cannot be calculated with the method previously described. To check shape's ShapeType, execute following command.