PlaneService
Canonical path: NemAll_Python_BaseElements.PlaneService
Implementation of the plane service
Methods:
-
CreateBRepSurfacePlane–Create a BRep3D surface plane
-
CreatePolyhedronSurfacePlane–Create a Polyhedron3D surface plane
-
GetCurrentLevelModelGuid–Get the current level model GUID of the active drawing file
-
__init__–Overloaded function. See individual overloads.
CreateBRepSurfacePlane
staticmethod
CreateBRepSurfacePlane(
doc: DocumentAdapter,
planeSurface: BRep3D,
surfaceName: str,
isVisible: bool,
) -> BaseElementAdapter
Create a BRep3D surface plane
Parameters:
-
doc(DocumentAdapter) –Document
-
planeSurface(BRep3D) –Plane surface
-
surfaceName(str) –Name of the surface
-
isVisible(bool) –Visible state
Returns:
-
BaseElementAdapter–Plane element
CreatePolyhedronSurfacePlane
staticmethod
CreatePolyhedronSurfacePlane(
doc: DocumentAdapter,
planeSurface: Polyhedron3D,
surfaceName: str,
isVisible: bool,
) -> BaseElementAdapter
Create a Polyhedron3D surface plane
Parameters:
-
doc(DocumentAdapter) –Document
-
planeSurface(Polyhedron3D) –Plane surface
-
surfaceName(str) –Name of the surface
-
isVisible(bool) –Visible state
Returns:
-
BaseElementAdapter–Plane element
GetCurrentLevelModelGuid
GetCurrentLevelModelGuid() -> GUID
Placeholder