Skip to content

SurfaceElementPropertiesService

Canonical path: NemAll_Python_AllplanSettings.SurfaceElementPropertiesService

Surface element properties service

Methods:

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:

Returns:

  • int

    Hatch number, -1=not found

GetPatternNumberFromName staticmethod

GetPatternNumberFromName(patternName: str, doc: DocumentAdapter) -> int

Get the pattern number from a pattern name

Parameters:

Returns:

  • int

    Pattern number, -1=not found

Placeholder