Base class for part, instance and assembly.
new ModelElement(
name?):ModelElement
Name of the model element.
string | null
ModelElement
material:
VisualMaterial|null=null
The model element material. null if the element has no material (by default).
get id():
bigint
Returns object id.
bigint
get name():
string|null
Returns name of the model element. null if the element has no name (by default).
string | null
set name(
name):void
Sets name of the model element.
Name of the model element.
string | null
void
get uuid():
`${string}-${string}-${string}-${string}-${string}`|null
Returns uuid of the model element. null if the element has no assigned uuid (by default).
`${string}-${string}-${string}-${string}-${string}` | null
set uuid(
uuid):void
Sets uui of the model element.
Uuid of the model element.
`${string}-${string}-${string}-${string}-${string}` | null
void
abstractaccept(visitor):void
Accepts an element visitor.
The order of visiting depends on the type of this object:
true then visits the referred element. Then leaves the instance calling visitInstanceLeave().true then visits all the assembly children. Then leaves the assembly calling visitAssemblyLeave().Accepted visitor.
void