ComponentDefinition
Shared geometry that groups and component instances place in the model.
Extends
Section titled “Extends”Properties
Section titled “Properties”entities
Section titled “entities”
readonlyentities:Entities
The definition’s own entities, in definition-local coordinates.
entityId
Section titled “entityId”
readonlyentityId:number
Identifier that stays the same for the entity’s lifetime, including across undo and redo.
Inherited from
Section titled “Inherited from”isDeleted
Section titled “isDeleted”
readonlyisDeleted:boolean
Whether the entity was deleted, for example by an edit or by undo.
Inherited from
Section titled “Inherited from”isValid
Section titled “isValid”
readonlyisValid:boolean
Whether the entity still exists in the model.
Inherited from
Section titled “Inherited from”name:
string
Definition name, shared by all its instances; assign inside Model.operation.
readonlytype:"ComponentDefinition"
The concrete class name, for narrowing unions such as AnyElement.