PlaneReferences
Canonical path: NemAll_Python_ArchElements.PlaneReferences
Bases: BasePlaneReferences
Implementation of the plane references
Classes:
-
Direction
–Definitions of ways, how the offset distance between the reference plane and the top/bottom edge of the architectural component is measured.
-
ElementToPlaneModeling
–Way of modeling of the top edge of an architectural component against the reference plane
-
PlaneReferenceDependency
–Possible dependencies between top/bottom edge of an architectural component and a reference plane
Methods:
-
GetAbsBottomElevation
–Get the absolute bottom elevation
-
GetAbsTopElevation
–Get the absolute top elevation
-
GetBottomDirection
–Get the bottom direction
-
GetBottomElevation
–Get the bottom plane elevation relative to the bottom plane of the document
-
GetBottomOffset
–Get the offset relative to the defined plane for the bottom
-
GetBottomPlaneDependency
–Get the bottom plane dependency
-
GetBottomPlaneSurface
–Get the bottom plane surface
-
GetBottomReferencePlane
–Get the bottom reference plane
-
GetDocument
–Get the document
-
GetHeight
–Get the height
-
GetMaximumHeight
–Get the maximum height
-
GetReferenceElement
–Get the reference element for the plane
-
GetTopDirection
–Get the top direction
-
GetTopElevation
–Get the top plane elevation relative to the top plane of the document
-
GetTopOffset
–Get the offset relative to the defined plane for the top
-
GetTopPlaneDependency
–Get the top plane dependency
-
GetTopPlaneSurface
–Get the top plane surface
-
GetTopReferencePlane
–Get the top reference plane
-
SetAbsBottomElevation
–Set the absolute bottom elevation
-
SetAbsTopElevation
–Set the absolute top elevation
-
SetBottomDirection
–Set the bottom plane Direction
-
SetBottomElevation
–Set the bottom plane elevation relative to the bottom plane of the document
-
SetBottomOffset
–Set the offset relative to the defined plane for the bottom
-
SetBottomPlaneDependency
–Set the bottom plane dependency
-
SetBottomPlaneSurface
–Set the bottom plane surface
-
SetBottomReferencePlane
–Set the bottom reference plane
-
SetBottomSurfacePlaneElement
–Set the bottom surface plane
-
SetBottomToBottom
–Set the bottom level to the bottom level of the source plane reference
-
SetBottomToTop
–Set the bottom level to the top level of the source plane reference
-
SetDocument
–Set the document
-
SetElementToPlaneModeling
–Set the way of modeling the top edge of an architectural component against the reference plane
-
SetHeight
–Set the height
-
SetMaximumHeight
–Set maximum height
-
SetReferenceElement
–Set the reference element for the plane
-
SetTopDirection
–Set the top plane Direction
-
SetTopElevation
–Set the top plane elevation relative to the top plane of the document
-
SetTopOffset
–Set the offset relative to the defined plane for the top
-
SetTopPlaneDependency
–Set the top plane dependency
-
SetTopPlaneSurface
–Set the top plane surface
-
SetTopReferencePlane
–Set the top reference plane
-
SetTopSurfacePlaneElement
–Set the top surface plane
-
SetTopToBottom
–Set the top level to the bottom level of the source plane reference
-
SetTopToTop
–Set the top level to the top level of the source plane reference
-
__init__
–dummy, is only needed for the creation of the documentation by MkDocs
-
__repr__
–Convert to string
Attributes:
-
AbsBottomElevation
(float
) –Get the absolute bottom elevation
-
AbsTopElevation
(float
) –Get the absolute top elevation
-
BottomDirection
(Direction
) –Get the bottom direction
-
BottomElevation
(float
) –Get the bottom plane elevation relative to the bottom plane of the document
-
BottomOffset
(float
) –Offset between the reference plane and the bottom edge of an architectural component.
-
BottomPlaneDependency
(PlaneReferenceDependency
) –Type of dependency of the bottom edge of the architectural component
-
BottomPlaneSurface
(Any
) –Get the bottom plane surface
-
BottomReferencePlane
(ReferencePlaneID
) –Get the bottom reference plane
-
Document
(DocumentAdapter
) –Get the document
-
Height
(float
) –Get the height
-
MaximumHeight
(float
) –Maximum height of the architectural component measured from its bottom
-
ReferenceElement
(BaseElementAdapter
) –Get the reference element for the plane
-
TopDirection
(Direction
) –Get the top direction
-
TopElevation
(float
) –Get the top plane elevation relative to the top plane of the document
-
TopOffset
(float
) –Offset between the reference plane and the top edge of an architectural component.
-
TopPlaneDependency
(PlaneReferenceDependency
) –Type of dependency of the top edge of the architectural component
-
TopPlaneSurface
(Any
) –Get the top plane surface
-
TopReferencePlane
(ReferencePlaneID
) –Get the top reference plane
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
MaximumHeight
property
writable
Maximum height of the architectural component measured from its bottom
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
Definitions of ways, how the offset distance between the reference plane and the top/bottom edge of the architectural component is measured.
Methods:
-
__getitem__
–get the item for a key
Attributes:
-
eOrthogonal
–The offset distance is measured vertically, along the global Z axis
-
eParallel
–The offset distance is measured perpendicular to the reference plane
eOrthogonal
class-attribute
instance-attribute
The offset distance is measured vertically, along the global Z axis
eParallel
class-attribute
instance-attribute
The offset distance is measured perpendicular to the reference plane
ElementToPlaneModeling
Canonical path: NemAll_Python_ArchElements.PlaneReferences.ElementToPlaneModeling
Bases: Enum
Way of modeling of the top edge of an architectural component against the reference plane
Methods:
-
__getitem__
–get the item for a key
Attributes:
-
eFitToPlane
–Standard adaptation - element takes the shape of the reference plane
-
eLowerCutToPlane
–Jamb wall adaptation - element is cut horizontally below the plane
-
eUpperCutToPlane
–Chimney adaptation - element is cut horizontally above the plane
eFitToPlane
class-attribute
instance-attribute
Standard adaptation - element takes the shape of the reference plane
eLowerCutToPlane
class-attribute
instance-attribute
Jamb wall adaptation - element is cut horizontally below the plane
eUpperCutToPlane
class-attribute
instance-attribute
Chimney adaptation - element is cut horizontally above the plane
__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
Possible dependencies between top/bottom edge of an architectural component and a reference plane
Methods:
-
__getitem__
–get the item for a key
Attributes:
-
eAbsElevation
–Absolute elevation
-
eBottomFixed
–Fixed to lower reference plane
-
eBottomPlane
–Relative to lower reference plane
-
eComponentsBottomPlane
–Relative to bottom edge of another architectural component
-
eComponentsTopPlane
–Relative to top edge of another architectural component
-
eTopFixed
–Fixed to top reference plane
-
eTopPlane
–Relative to upper reference plane
eComponentsBottomPlane
class-attribute
instance-attribute
Relative to bottom edge of another architectural component
eComponentsTopPlane
class-attribute
instance-attribute
Relative to top edge of another architectural component
__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 the way of modeling the top edge of an architectural component against the reference plane
Parameters:
-
elementToPlaneModeling
(ElementToPlaneModeling
) –Way of modeling the top edge against the reference plane
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)