PythonPartAttributeTakeoverService
Implementation of the attribute takeover service for the PythonPart
PythonPartAttributeTakeoverService
Canonical path: PythonPart.PythonPartAttributeTakeoverService.PythonPartAttributeTakeoverService
Implementation of the attribute takeover service for the PythonPart
add_external_attributes
staticmethod
add_external_attributes(
attributes: list[Attribute], sub_pythonpart_key: str = ""
)
add the missing external attributes to the attribute list
Parameters:
-
attributes(list[Attribute]) –attributes
-
sub_pythonpart_key(str, default:'') –key of the sub PythonPart
check_external_attribute_modification
staticmethod
check_external_attribute_modification(build_ele_list: list[BuildingElement])
check for an external attribute modification and adapt the values inside the building elements
Parameters:
-
build_ele_list(list[BuildingElement]) –building element list
check_external_sub_pyp_attribute_modification
staticmethod
check_external_sub_pyp_attribute_modification(
build_ele_list: list[BuildingElement], sub_pythonpart_key: str
)
check for an external attribute modification and adapt the values for a sub PythonPart of a PythonPartGroup
Parameters:
-
build_ele_list(list[BuildingElement]) –list with the building elements
-
sub_pythonpart_key(str) –key of the sub PythonPart
Placeholder