Defines a leaf node in the scene graph hierarchy.
A part corresponds to mechanical part or a product in the product structure hierarchy.
new Part(
name?):Part
Name of the model element.
null | string
material:
null|VisualMaterial=null
The model element material. null if the element has no material (by default).
get bodies():
ReadonlySet<Body>
Returns a set of added bodies.
ReadonlySet<Body>
get id():
bigint
Returns object id.
bigint
get name():
null|string
Returns name of the model element. null if the element has no name (by default).
null | string
set name(
name):void
Sets name of the model element.
Name of the model element.
null | string
void
get numberOfBodies():
number
Returns number of child bodies.
Deprecated. Use bodies.size instead.
number
get uuid():
null| `$string