SIGN UP

Revit + Dynamo Tutorial – Colored Revision Clouds

bim management Oct 11, 2021

Today, I’ve received an interesting question from Gerald Castillo, a BIM 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:

Comments

GREEN FRIDAY IS BACK

Get 35% off, plant 75 trees and unlock our entire catalog.

Courses
Template
Doors
Masters

Recent Posts

Automated Wood Opening Framing in Revit with Dynamo

Nov 18, 2024

Guardian: Protecting Revit Models | BIM Pure Live #087

Nov 13, 2024

See All Blog Posts →