BuildingElementMigrationUtil
Implementation of the migration utilities for the building element
BuildingElementMigrationUtil
Canonical path: BuildingElementMigrationUtil.BuildingElementMigrationUtil
Implementation of the migration utilities for the building element
transfer_parameter_value
staticmethod
transfer_parameter_value(
parameter_list: List[str],
old_element_id: str,
old_value_name: str,
new_element_id: str,
new_value_name: str,
converter_function: Optional[Callable] = None,
append_parameter: bool = False,
)
transfer a parameter value for an old ID and name to a new ID and name
Args:
parameter_list : list with the parameter names and values old_element_id : old element ID of the PythonPart old_value_name : old value name new_element_id : new element ID of the PythonPart new_value_name : new value name converter_function: convert function for the value as converter_function(value: str) -> str append_parameter : append the parameter (False replaces the old parameter)
Placeholder