SIGN UP

Revit + Dynamo Tutorial – Colored Revision Clouds

bim management Oct 11, 2021

Today, I’ve received an interesting question from Gerald Castillo, a Revit Pure reader:

I really need some help regarding revision clouds.
Is it possible to create revisions with a different color for each revision?
What I mean is for example for Revision 1 = color red then Revision 2 = Color Blue?

                                                                                          

View filters would be a great tool for this task, but the “Revision Clouds” category isn’t available there. Which leaves us to use Dynamo.

The first thing you need to do is to find all revision clouds in the project. Use these nodes:

Next, use the Elements.GetParameterValueByNameTypeOrInstance from the Rhythm package. Get the Revision Number parameter from the revision clouds.

Run the script to see what’s going on. You should see the revision number for each revision cloud in this node.

Then, add the List.GroupByKey node. Put the elements in the List input and the revision number parameter in the keys. The clouds will be organized in sublists based on their revision number.

Next, you’ll need to create colors. The Color.ByARGB node can help to quickly create red, green and blue colors and combine them into a list.

EDIT: If you are using recent versions of Dynamo, you can use the Color Palette node, which is simpler to use than Color.ByARGB.

Finally, plug the color list and the groups from the GroupByKey node to a node called Element.OverrideColorInView.

Run the script. You should get something like this:

A limitation of this script is that it only applies to the active view. The Genius Loci package has some nodes which can solve this issue: OverrideGraphicSettings and View SetElementOverrides. You’ll need to use either all views (very slow) or create a list of precise views. The problem is that GeniusLoci seems like a small package that might get inactive at some point.

If you place revision clouds directly on sheets, you’ll need to create a list that contains all views and all sheets.

Here are links to download these scripts:

33 Free PDF Guides About Complex Revit Topics

Pamphlets

Download the entire collection with this link. You will receive the 33 PDFs by email.

 

Recent Posts

BIM & Beyond - Vol. #1 - Fall 2024

D.TO - AI Details for Revit | BIM Pure Live #082

How to Make Great Revit Elevations