LibraryElement
Canonical path: NemAll_Python_BasisElements.LibraryElement
Bases: BasisElement, AllplanElement
Representation of an element from the Allplan library
An element from Allplan library can be a symbol, smart symbol or fixture. This class represents also fixtures from fixture catalogs
Methods:
-
GetCount–Get the element count
-
GetGeometryElements–Get the geometry elements
-
GetMinMax–Get the min/max box of the element
-
GetProperties–Get the properties
-
GetReferencePoint–Get the reference point
-
Move–Move the element
-
__init__–Overloaded function. See individual overloads.
-
__repr__–Convert to string
GetGeometryElements
GetGeometryElements(doc: DocumentAdapter) -> list
Get the geometry elements
Parameters:
-
doc(DocumentAdapter) –Document
Returns:
-
list–Geometry elements
GetMinMax
GetMinMax(doc: DocumentAdapter) -> MinMax3D
Get the min/max box of the element
Parameters:
-
doc(DocumentAdapter) –Document
Returns:
-
MinMax3D–Min/max box of the element
GetProperties
GetProperties() -> LibraryElementProperties
GetReferencePoint
GetReferencePoint(doc: DocumentAdapter) -> Point3D
Get the reference point
Parameters:
-
doc(DocumentAdapter) –Document
Returns:
-
Point3D–Reference point
__init__
overloaded
Placeholder