Skip to content

BottomTopPlaneService

Canonical path: NemAll_Python_ArchElements.BottomTopPlaneService

Service providing methods for reading various properties of the reference planes set in the current document.

Methods:

GetAbsoluteBottomElevation staticmethod

GetAbsoluteBottomElevation(
    refElement: BaseElementAdapter,
    doc: DocumentAdapter,
    planeProp: BasePlaneReferences,
) -> float

Get the absolute elevation of the bottom plane

Parameters:

Returns:

  • float

    Absolute elevation of the bottom plane

GetAbsoluteTopElevation staticmethod

GetAbsoluteTopElevation(
    refElement: BaseElementAdapter,
    doc: DocumentAdapter,
    planeProp: BasePlaneReferences,
) -> float

Get the absolute elevation of the top plane

Parameters:

Returns:

  • float

    Absolute elevation of the top plane

GetBottomReferencePlane staticmethod

GetBottomReferencePlane(
    refElement: BaseElementAdapter,
    doc: DocumentAdapter,
    planeProp: BasePlaneReferences,
) -> BRep3D | Polyhedron3D | Plane3D

Get the bottom reference plane

Parameters:

Returns:

GetDefaultPlaneReferences staticmethod

GetDefaultPlaneReferences(doc: DocumentAdapter) -> PlaneReferences

Get the default plane references of the document

Parameters:

Returns:

GetDocumentBottomElevation staticmethod

GetDocumentBottomElevation(
    refElement: BaseElementAdapter,
    doc: DocumentAdapter,
    planeProp: BasePlaneReferences,
) -> float

Get the document elevation of the bottom plane

Parameters:

Returns:

  • float

    Absolute elevation of the bottom plane

GetDocumentDefaultPlanes staticmethod

GetDocumentDefaultPlanes(doc: DocumentAdapter) -> tuple[Plane3D, Plane3D]

Get the default bottom and top plane of the document

Parameters:

Returns:

GetDocumentTopElevation staticmethod

GetDocumentTopElevation(
    refElement: BaseElementAdapter,
    doc: DocumentAdapter,
    planeProp: BasePlaneReferences,
) -> float

Get the document elevation of the top plane

Parameters:

Returns:

  • float

    Absolute elevation of the top plane

GetPlaneName staticmethod

GetPlaneName(doc: DocumentAdapter, planeGuid: int) -> str

Get the the plane name from the guid

Parameters:

Returns:

  • str

    Plane name

GetTopReferencePlane staticmethod

GetTopReferencePlane(
    refElement: BaseElementAdapter,
    doc: DocumentAdapter,
    planeProp: BasePlaneReferences,
) -> BRep3D | Polyhedron3D | Plane3D

Get the top reference plane

Parameters:

Returns:

Placeholder