PlaneReferences
Canonical path: NemAll_Python_ArchElements.PlaneReferences
Bases: BasePlaneReferences
Implementation of the plane references
BottomElevation
property
writable
Get the bottom plane elevation relative to the bottom plane of the document
BottomOffset
property
writable
Offset between the reference plane and the bottom edge of an architectural component.
If the property BottomPlaneDependency is set to eAbsElevation, this is the absolute elevation of the bottom edge.
BottomPlaneDependency
property
writable
BottomPlaneDependency: PlaneReferenceDependency
Type of dependency of the bottom edge of the architectural component
BottomReferencePlane
property
writable
BottomReferencePlane: ReferencePlaneID
Get the bottom reference plane
ReferenceElement
property
writable
ReferenceElement: BaseElementAdapter
Get the reference element for the plane
TopElevation
property
writable
Get the top plane elevation relative to the top plane of the document
TopOffset
property
writable
Offset between the reference plane and the top edge of an architectural component. If the property TopPlaneDependency is set to eAbsElevation, this is the absolute elevation of the top edge.
TopPlaneDependency
property
writable
TopPlaneDependency: PlaneReferenceDependency
Type of dependency of the top edge of the architectural component
Direction
Canonical path: NemAll_Python_ArchElements.PlaneReferences.Direction
Bases: Enum
Definition of the plane directions
eParallel : eOrthogonal:
ElementToPlaneModeling
Canonical path: NemAll_Python_ArchElements.PlaneReferences.ElementToPlaneModeling
Bases: Enum
Definition of the element to plane modelling
eFitToPlane : eLowerCutToPlane: eUpperCutToPlane:
__getitem__
__getitem__(key: str | int | float) -> ElementToPlaneModeling
get the item for a key
Parameters:
-
key
(str | int | float
) –value key
Returns:
-
ElementToPlaneModeling
–value for the key
PlaneReferenceDependency
Canonical path: NemAll_Python_ArchElements.PlaneReferences.PlaneReferenceDependency
Bases: Enum
Definition of the plane dependencies
eAbsElevation : eBottomPlane : eTopPlane : eComponentsBottomPlane: eComponentsTopPlane : eTopFixed : eBottomFixed :
__getitem__
__getitem__(key: str | int | float) -> PlaneReferenceDependency
get the item for a key
Parameters:
-
key
(str | int | float
) –value key
Returns:
-
PlaneReferenceDependency
–value for the key
GetAbsBottomElevation
Get the absolute bottom elevation
Returns:
-
float
–Absolute bottom elevation
GetAbsTopElevation
Get the absolute top elevation
Returns:
-
float
–Absolute top elevation
GetBottomDirection
GetBottomDirection() -> Direction
GetBottomElevation
Get the bottom plane elevation relative to the bottom plane of the document
Returns:
-
float
–Bottom plane elevation
GetBottomOffset
Get the offset relative to the defined plane for the bottom
Returns:
-
float
–Offset relative to the defined plane for the bottom
GetBottomPlaneDependency
GetBottomPlaneDependency() -> PlaneReferenceDependency
GetBottomPlaneSurface
Get the bottom plane surface
Returns:
-
Any
–Bottom plane surface
GetBottomReferencePlane
GetBottomReferencePlane() -> ReferencePlaneID
GetReferenceElement
GetReferenceElement() -> BaseElementAdapter
Get the reference element for the plane
GetTopDirection
GetTopDirection() -> Direction
GetTopElevation
Get the top plane elevation relative to the top plane of the document
Returns:
-
float
–Top plane elevation
GetTopOffset
Get the offset relative to the defined plane for the top
Returns:
-
float
–Offset relative to the defined plane for the top
GetTopPlaneDependency
GetTopPlaneDependency() -> PlaneReferenceDependency
GetTopPlaneSurface
Get the top plane surface
Returns:
-
Any
–Top plane surface
GetTopReferencePlane
GetTopReferencePlane() -> ReferencePlaneID
SetAbsBottomElevation
Set the absolute bottom elevation
Parameters:
-
absElevation
(float
) –Absolute bottom elevation
SetAbsTopElevation
Set the absolute top elevation
Parameters:
-
absElevation
(float
) –Absolute top elevation
SetBottomDirection
SetBottomDirection(direction: Direction)
SetBottomElevation
Set the bottom plane elevation relative to the bottom plane of the document
Parameters:
-
elevation
(float
) –Elevation
SetBottomOffset
Set the offset relative to the defined plane for the bottom
Parameters:
-
offset
(float
) –Offset relative to the defined plane for the bottom
SetBottomPlaneDependency
SetBottomPlaneDependency(dependency: PlaneReferenceDependency)
SetBottomPlaneSurface
Set the bottom plane surface
Parameters:
-
bottomSurface
(object
) –Bottom plane surface
SetBottomReferencePlane
SetBottomReferencePlane(bottomReferencePlane: ReferencePlaneID)
Set the bottom reference plane
Parameters:
-
bottomReferencePlane
(ReferencePlaneID
) –Bottom reference plane
SetBottomSurfacePlaneElement
SetBottomSurfacePlaneElement(surfacePlane: BaseElementAdapter)
SetBottomToBottom
SetBottomToBottom(planeRef: PlaneReferences)
Set the bottom level to the bottom level of the source plane reference
Parameters:
-
planeRef
(PlaneReferences
) –Source plane reference
SetBottomToTop
SetBottomToTop(planeRef: PlaneReferences)
Set the bottom level to the top level of the source plane reference
Parameters:
-
planeRef
(PlaneReferences
) –Source plane reference
SetDocument
SetDocument(doc: DocumentAdapter)
SetElementToPlaneModeling
SetElementToPlaneModeling(elementToPlaneModeling: ElementToPlaneModeling)
Set element to plane modeling
Parameters:
-
elementToPlaneModeling
(ElementToPlaneModeling
) –ElementToPlaneModeling
SetMaximumHeight
Set maximum height
Parameters:
-
maximumHeight
(float
) –double
SetReferenceElement
SetReferenceElement(refElement: BaseElementAdapter)
Set the reference element for the plane
Parameters:
-
refElement
(BaseElementAdapter
) –Reference element
SetTopDirection
SetTopDirection(direction: Direction)
SetTopElevation
Set the top plane elevation relative to the top plane of the document
Parameters:
-
elevation
(float
) –Elevation
SetTopOffset
Set the offset relative to the defined plane for the top
Parameters:
-
offset
(float
) –Offset relative to the defined plane for the top
SetTopPlaneDependency
SetTopPlaneDependency(dependency: PlaneReferenceDependency)
SetTopPlaneSurface
Set the top plane surface
Parameters:
-
topPlaneSurface
(object
) –Top plane surface
SetTopReferencePlane
SetTopReferencePlane(topReferencePlane: ReferencePlaneID)
SetTopSurfacePlaneElement
SetTopSurfacePlaneElement(surfacePlane: BaseElementAdapter)
SetTopToBottom
SetTopToBottom(planeRef: PlaneReferences)
Set the top level to the bottom level of the source plane reference
Parameters:
-
planeRef
(PlaneReferences
) –Source plane reference
SetTopToTop
SetTopToTop(planeRef: PlaneReferences)
Set the top level to the top level of the source plane reference
Parameters:
-
planeRef
(PlaneReferences
) –Source plane reference
__init__
overloaded
__init__(doc: DocumentAdapter, refElement: BaseElementAdapter)
Constructor
Parameters:
-
doc
(DocumentAdapter
) –Document
-
refElement
(BaseElementAdapter
) –Reference element for the plane (if current exist)
__init__(element: PlaneReferences)