BuildingElementMaterialStringTable
Script for BuildingElementMaterialStringTable
BuildingElementMaterialStringTable
Canonical path: BuildingElementMaterialStringTable.BuildingElementMaterialStringTable
Bases: BuildingElementStringTableBase
Definition of class MaterialStringTable
__init__
Initialization of class StringTable
Parameters:
-
path(str) –path of according .py file. The file name will be set internally to _xyz.xml
-
numeric(bool) –the string table will be created only from numeric (123..) text ids or not numeric text ids (e_THE_VALUE)
-
lang(str) –language short cut
add_entry
Creates an string table entry
Parameters:
-
val_number(str) –index number in the list
-
val_str(str) –string value
Returns:
-
bool–True for success
-
bool–False if number already exists
Placeholder