Parameter Mapper

Copy values from one parameter to another, between elements of the same category (grouped elements are excluded from edition).
Usage:
Select Category: Select a Category from the list.
Select Source Parameter: list of parameters applied to the category. It is filled in once selected the Category.
Select Target Parameter: list of parameters available to receive the data. It is filled in once selected the Source Parameter.
Additional options:
Number as Number or Number as Text: if you were to transfer data from a Number parameter you could choose whether to transfer this data to another Number parameter (As Number) or to a Text parameter (As Text). The Target Parameter List will be filled accordingly.
Or Element Id: use this option if you don´t want to transfer parameter data but want to record the Element Id in some other parameter. (NOTE: Element Id will allways be transferred as Text)
The way the Revit API handles parameters is quite complex (this is my opinion). There are different types of parameters and different ways to access / manage them with the API. The parameters shown in the Source Parameter list are retrieved using the Element.Parameters Property. According to the Revit API help file this property "Retrieves a set containing all of the parameters that are contained within the element". However, I have noticed (sometimes) missing parameters as well as duplicated parameters. I still don´t understand why this happens, but unfortunately this is how the Revit API works.
Last updated
Was this helpful?