Entity
Base class of everything stored in the model. Each model entity is represented by one
object, so ===, Set and Map work as identity. Deleted entities keep entityId,
isValid and isDeleted; their other properties throw ReferenceError until undo
restores them.
Extended by
Section titled “Extended by”Properties
Section titled “Properties”entityId
Section titled “entityId”
readonlyentityId:number
Identifier that stays the same for the entity’s lifetime, including across undo and redo.
isDeleted
Section titled “isDeleted”
readonlyisDeleted:boolean
Whether the entity was deleted, for example by an edit or by undo.
isValid
Section titled “isValid”
readonlyisValid:boolean
Whether the entity still exists in the model.
abstractreadonlytype:"Vertex"|"Edge"|"Face"|"Loop"|"EdgeUse"|"Curve"|"ArcCurve"|"ComponentDefinition"|"ComponentInstance"|"Group"|"Material"|"Guide"
The concrete class name, for narrowing unions such as AnyElement.