PythonPartParameterUtil
implementation of the PythonPart parameter utilities
PythonPartParameterUtil
Canonical path: Utils.PythonPart.PythonPartParameterUtil.PythonPartParameterUtil
implementation of the PythonPart parameter utilities
__init__
__init__(
python_part_ele: BaseElementAdapter,
str_table: BuildingElementStringTable,
material_str_table: BuildingElementMaterialStringTable,
)
initialize
Parameters:
-
python_part_ele(BaseElementAdapter) –PythonPart element
-
str_table(BuildingElementStringTable) –string table
-
material_str_table(BuildingElementMaterialStringTable) –material string table
get_label_data
get_label_data(
doc: DocumentAdapter,
) -> tuple[ParameterValueList, list[BuildingElement]]
get the data for a label from the parameters
Parameters:
-
doc(DocumentAdapter) –document of the Allplan drawing files
Returns:
-
tuple[ParameterValueList, list[BuildingElement]]–parameter value data, building element list
Placeholder