SurfaceElementPropertiesService
Canonical path: NemAll_Python_AllplanSettings.SurfaceElementPropertiesService
Surface element properties service
Methods:
-
GetFaceStyleNumberFromName–Get the face style number from a facestyle name
-
GetHatchNumberFromName–Get the hatch number from a hatch name
-
GetPatternNumberFromName–Get the pattern number from a pattern name
GetFaceStyleNumberFromName
staticmethod
GetFaceStyleNumberFromName(facestyleName: str, doc: DocumentAdapter) -> int
Get the face style number from a facestyle name
Parameters:
-
facestyleName(str) –FaceStyle name
-
doc(DocumentAdapter) –Document
Returns:
-
int–Face style number, -1=not found
GetHatchNumberFromName
staticmethod
GetHatchNumberFromName(hatchName: str, doc: DocumentAdapter) -> int
Get the hatch number from a hatch name
Parameters:
-
hatchName(str) –Hatch name
-
doc(DocumentAdapter) –Document
Returns:
-
int–Hatch number, -1=not found
GetPatternNumberFromName
staticmethod
GetPatternNumberFromName(patternName: str, doc: DocumentAdapter) -> int
Get the pattern number from a pattern name
Parameters:
-
patternName(str) –Pattern name
-
doc(DocumentAdapter) –Document
Returns:
-
int–Pattern number, -1=not found
Placeholder