When modelling multi-residential buildings in Revit, often model groups will be used to make the process more efficient. Depending on the organisation’s BIM standards, the model group may contain a single room for the entire apartment or multiple rooms for each room. When multiple rooms are used, typically, there will be a common parameter across all rooms to assist the scheduling process. For example, each room may have an ‘Apartment Number’ parameter. Populating each nested room can be time-consuming, especially if the apartment numbering sequence is regularly updated.
Synchronising room parameters with Dynamo
To help solve this problem, Parametric Monkey has developed a Dynamo Player graph, which synchronises room parameters nested within a model group. The parameter in question must be of category ‘Room’, instance-based, and set to ‘values can vary by group instance’. Before running the graph, ensure that at least one room per model group has the parameter value already populated.
To run the graph:
- Define the prefix filter for the model groups, for example, “Int”.
- Define the parameter to synchronise, for example, “0_Apartment No”.
- Press Play to run the graph.
Computational logic
The graph collects all model groups in the project and filters them based on the prefix filter. The nested rooms within the model group are then extracted, and the parameter value is read. The parameter value is then populated to all other rooms within the group. If multiple parameter values are found for the same model group, only the first value will be used. If no parameter of that name can be found, an error will be returned.
Conclusion
To learn more about our Dynamo Package Development service, drop us a line and discover how we can automate your Revit workflows.