Skip to content

TextAttachment

TextAttachment = object

Describes where a text label should be anchored when creating it. Provide a point in model space, and optionally an instance path if the text is inside a group or component. The leaf entity in the path must be a Vertex, Edge, ConstructionLine, or ConstructionPoint.

optional instancePath?: (Entity | EntityRef)[]

Optional breadcrumb trail from the root model down to the attachment entity. Use this when creating text inside nested groups or components.


point: Point3Like

The 3D position where the text leader attaches.