In documentation creation phase of architectural Revit project, there is a need for creation a list of floor (wall, roof or ceiling) list of layers with their thicknesses.
Sometimes, there is also need for tagging floors or wall with tags consisting of list of layers and their thicknesses.
Unfortunately, this is not doable in Revit with it’s basic set of tools.
What we wanna do is use our layer structure, it’s material names and layer thicknesses and display it in tags and tables.
Of course, point of this article is to show you how can this be done with a little help of Dynamo.
There are few tricks exploited to make this work:
- Using shared parameters we are making parameters that can both appear in tags and schedules.
- Shared parameters are URL type because it is only parameter type that accepts new line character, that is, we can store multi-line value in it as one value.
- We are creating separate parameters for layer names and layer thicknesses because in that way it would be easier to have a neatly arranged tag.
- Both additional parameters are Type parameters, logically, there is one set of layers for each type of layered structure.
Below is Dynamo script screenshot which can be used to create you own script.
You can download the whole Dynamo layers script here (right click on the link and choose “Save Link As…”).
Also, you can download shared parameters file (right click on the link and choose “Save Link As…”) which is used to create Project parameters (Type parameters for Walls, Floors, Roofs and Ceilings) and to create Tag families (Edit: this is “Multiline Text” parameter type file, thanks to the Greg McDowell’s great comment).
If you are using Revit 2015 or older, you can download shared parameters file (right click on the link and choose “Save Link As…”) which is used to create Project parameters (Type parameters for Walls, Floors, Roofs and Ceilings) and to create Tag families (Edit: this is “URL” parameter type file).
To make it work, use shared parameters file to add Type “RI Layer Thickness” and “RI Material Layers” Project Parameters into Ceilings, Floors, Roofs and Walls categories. Then, run Dynamo (at least version 1.2) and load “Layers.dyn” script. Again, Clockwork and Springs packages need to be installed first (http://dynamobim.org/issues/extend-dynamo-with-packages/).