Skip to content

Building Element Migration Util

Class full path: BuildingElementMigrationUtil.BuildingElementMigrationUtil

Implementation of the migration utilities for the building element

Functions

transfer_parameter_value(parameter_list, old_element_id, old_value_name, new_element_id, new_value_name, converter_function=None, append_parameter=False) staticmethod

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)