Skip to content

LabelElement

Canonical path: NemAll_Python_BasisElements.LabelElement

Bases: BasisElement, AllplanElement

Representation of the label in Allplan

Methods:

Attributes:

LabeledElement property writable

LabeledElement: BaseElementAdapter

Get the labeled element

TextElements property writable

TextElements: list[TextElement]

Get the text elements

ViewSectionElement property writable

ViewSectionElement: BaseElementAdapter

Get the view or section element to which the label is connected

AddTextElement

AddTextElement(text: TextElement)

Add a text element

Parameters:

SetLabeledElement

SetLabeledElement(labeledElement: BaseElementAdapter)

Set the labeled element

Parameters:

__init__ overloaded

__init__()

Initialize

__init__(text: TextElement, labelType: LabelType)

Constructor

Parameters:

__init__(textElements: TextElementList, labelType: LabelType)

Constructor

Parameters:

__init__(element: LabelElement)

Copy constructor

Parameters:

__repr__

__repr__() -> str

Convert to string

Placeholder