Skip to content

PrecastCatalogService

Canonical path: NemAll_Python_Precast.PrecastCatalogService

Implementation of the precast catalog service

Methods:

GetAllFixtureCatalogValues staticmethod

GetAllFixtureCatalogValues() -> list

Get the values of all fixtures from the fixture catalog

Returns:

  • list

    List of all fixture values

GetAreaFixtureCatalogValues staticmethod

GetAreaFixtureCatalogValues() -> list

Get the values of the area fixtures from the fixture catalog

Returns:

  • list

    List of area fixture descriptions

GetBrickTileCatalogValues staticmethod

GetBrickTileCatalogValues() -> list

Get the values from the tile or brick catalog

Returns:

  • list

    List of tile or brick values

GetConcreteGradeCatalogValues staticmethod

GetConcreteGradeCatalogValues() -> list

Get the values from the concrete grade catalog

Returns:

  • list

    List of concrete grade descriptions

GetFactoryCatalogValues staticmethod

GetFactoryCatalogValues() -> list

Get the values from the factory catalog

Returns:

  • list

    List of factory values

GetFixtureEntryNames staticmethod

GetFixtureEntryNames(pathIndex: int, fileIndex: int) -> list

Gets the list of fixture entry names for a given path and file index.

Parameters:

  • pathIndex (int) –

    The index of the fixture path

  • fileIndex (int) –

    The index of the fixture file

Returns:

  • list

    List of fixture entry names

GetFixtureGroupNames staticmethod

GetFixtureGroupNames(pathIndex: int) -> list

Get the list of group names (file names) for a specified fixture path index.

Parameters:

  • pathIndex (int) –

    The index of the fixture path

Returns:

  • list

    List of fixture group names

GetFixturePathShortName staticmethod

GetFixturePathShortName(pathString: str) -> str

Gets the short name for a fixture path based on the provided path.

Parameters:

  • pathString (str) –

    The fixture path string

Returns:

  • str

    Short name for the fixture path

GetFixturePathShortNames staticmethod

GetFixturePathShortNames() -> list

Get the list of path short names where fixtures are stored (Office, Project...)

Returns:

  • list

    List of path short names for fixtures

GetInsulationCatalogValues staticmethod

GetInsulationCatalogValues() -> list

Get the descriptions from the insulation material catalog

Returns:

  • list

    List of insulation material descriptions

GetLineFixtureCatalogValues staticmethod

GetLineFixtureCatalogValues() -> list

Get the values of the line fixtures from the fixture catalog

Returns:

  • list

    List of line fixture values

GetMultiMaterialLayoutCatalogValues staticmethod

GetMultiMaterialLayoutCatalogValues() -> list

Gets the values from the multi material layout catalog

Returns:

  • list

    List of multi material layout values

GetMultiMaterialLayoutSelectionResult staticmethod

GetMultiMaterialLayoutSelectionResult(selectedValue: str) -> int

Get the selection result of a multi material layout, that is used to update the palette

Parameters:

  • selectedValue (str) –

    The selected value from the catalog.

Returns:

  • int

    The index in the catalog associated with the selected value

GetNormCatalogValues staticmethod

GetNormCatalogValues(currentNorm: str) -> list

Gets the values from the norm catalog

Parameters:

  • currentNorm (str) –

    Current norm that should be set

Returns:

  • list

    List of norm values

GetPointFixtureCatalogValues staticmethod

GetPointFixtureCatalogValues() -> list

Get the values of the point fixtures from the fixture catalog

Returns:

  • list

    List of point fixture values

GetPrecastElementTypeCatalogValues staticmethod

GetPrecastElementTypeCatalogValues() -> list

Gets the values from the precast element type catalog

Returns:

  • list

    List of precast element types

GetPrecastElementTypeSelectionResult staticmethod

GetPrecastElementTypeSelectionResult(selectedValueIndex: int) -> str

Get the selection result of a precast element type, that is used to update the palette

Parameters:

  • selectedValueIndex (int) –

    The index of the selected value in the list of precast element types

Returns:

  • str

    A string representing the selection result.

GetSurfaceCatalogValues staticmethod

GetSurfaceCatalogValues() -> list

Get the values from the surface catalog

Returns:

  • list

    List of surface values

Placeholder