PlaneReferences
Canonical path: NemAll_Python_ArchElements.PlaneReferences
Bases: BasePlaneReferences
Implementation of the plane references
Classes:
-
Direction
–Definition of the plane directions
-
ElementToPlaneModeling
–Definition of the element to plane modelling
-
PlaneReferenceDependency
–Definition of the plane dependencies
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 element to plane modeling
-
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__
–Overloaded function. See individual overloads.
-
__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
) –Get the maximum height
-
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
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:
Methods:
-
__getitem__
–get the item for a key
ElementToPlaneModeling
Canonical path: NemAll_Python_ArchElements.PlaneReferences.ElementToPlaneModeling
Bases: Enum
Definition of the element to plane modelling
eFitToPlane : eLowerCutToPlane: eUpperCutToPlane:
Methods:
-
__getitem__
–get the item for a key
__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 :
Methods:
-
__getitem__
–get the item for a key
__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)