Accessing properties - volume and or weight

Accessing properties - volume and or weight

Anonymous
Not applicable
512 Views
1 Reply
Message 1 of 2

Accessing properties - volume and or weight

Anonymous
Not applicable

Hi,

 

Is it possible to accees the properties of a body from a script? i.e. Volume and or weight.

0 Likes
Accepted solutions (1)
513 Views
1 Reply
Reply (1)
Message 2 of 2

KrisKaplan
Autodesk
Autodesk
Accepted solution

Yes.  Take a look at the BRepBody.physicalProperties property.  FYI: The physicalProperties property is also available at the Component and Occurrence levels as well (if you want the combined properties of all bodies in a component, or an occurrence transformed version of this).

 

Kris



Kris Kaplan