Defines a group of model elements.
Direct children of assembly are always instances which can refer to nested sub-assemblies or parts.
new Assembly(
name?):Assembly
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 id():
bigint
Returns object id.
bigint
get instances():
ReadonlySet<Instance>
Returns a set of child instances.
ReadonlySet<Instance>
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 numberOfInstances():
number
Returns number of child instances.
Deprecated. Use instances.size instead.
number
get uuid():
null| `$string