Third pack of free Dynamo scripts

Posted on October 17, 2019 by Jean-Marc Couffin
Category: Technical

Third pack of free Dynamo scripts

Today we’re sharing three free Dynamo scripts to make your life easier when you are trying to maintain the quality of your Revit models. These are time-consuming tasks that our BIM Experts have to execute every day, most probably like you!

In case you missed our previous pack, you can check it out here.

PACK #3 -
Switch it up

We will describe a few problems that this pack aims to resolve. Not interested in the why? Go directly to the description of the 3 scripts. 

With this third pack of scripts, we will help you maintain a clean, standard, and light model:

  • Analytical model - This script is particularly beneficial If you are an architect and recieve a structural model to work with. Manipulating a model where analytical elements are all turned off does increase your model size and also causes latency in every move you make. This script will help you turn on and off all analytical elements easily.
  • Line style replacement - Pick a couple of line types and replace them with another one. This should help maintain a clean list of line types.
  • Switch arrowheads for texts and tags - Your project manager decided the 30° arrow was not good looking anymore for leaders, or just want to differentiate certain tags or texts types. Look no further!

Script anatomy

HIERARCHY OF INFORMATION

All of BIM One’s Dynamo scripts are structured in a systematic way to make it easier for users to understand:

The different groups correspond to the standard progression of a script: input data, constraints, an interface that interrogates inputs and constraints, actions on data or geometry and monitoring.
Figure 1.0 The different groups correspond to the standard progression of a script: input data, constraints, an interface that interrogates inputs and constraints, actions on data or geometry and monitoring.

DEPENDENCIES

We worked hard to develop our scripts with as few dependencies as possible to make deployment and maintenance straightforward. By dependencies, we mean custom nodes that need to be downloaded for the script to be functional.

LANGUAGES

Our scripts are bilingual: English / French. BIM One is headquartered in Quebec, where both languages coexist. The first section of each script starts with a Python script that queries the language of the Revit interface and conditions the text of the interface.

BIM1_ANALYTICAL_ON-OFF

WITH THIS SCRIPT YOU WILL BE ABLE TO:

Pin every instance of Revit links in your model.

Le script complet ANALYTICAL_ON-OFF
Figure 2.0 The full script ANALYTICAL_ON-OFF

1-STEP PROCESS

  1. Pick if you want to turn the analytical model on or off.

BIM1_ArrowHeadSwitcher

WITH THIS SCRIPT YOU WILL BE ABLE TO:

Switch arrowheads for specific Text and Tags types

Le script complet Arrowhead Switcher
Figure 3.0 The full script Arrowhead Switcher

3-STEP PROCESS

  1. Pick the text types you want to change.
  2. Pick the tag types as well.
  3. Select the new arrowhead you want.

BIM1_LineStylesReplacer

WITH THIS SCRIPT YOU WILL BE ABLE TO:

Switch one or many specific linestyles in the active view or the whole model. You will also be able to select just the detail curves, the model curves or both.

The full script Line styles replacer
Figure 5.0 The full script Line styles replacer

4-STEP PROCESS

  1. Select if you want it to happen in the active view or the whole document.
  2. Select either Detail lines, Model lines or both.
  3. Pick the line styles that need replacing.
  4. Finally the line style you want applied.

UPCOMING SCRIPTS

We can’t wait to release our next Dynamo Script Pack. The fourth pack might be a bit different, a set of tools to help you push and pull data from a cloud source #ThatShouldNotBeNamed.

If you have any questions about these scripts, please do not hesitate to contact us on dynamo@bimone.com. If you’d like to receive the latest news, sign up here to our monthly newsletter.

WARNINGS

  1. These scripts are distributed free of charge by BIM One Inc. They have all been tested and used by our specialists before being released. However, Dynamo, like computing, is not an exact science. Some scripts may not work as expected on your computer or in your projects. We cannot be held responsible for your use of it. Obviously, we will try to correct any problems or answer your questions as best we can and according to our availability. Our goal is to follow up once a week.
  2. Like any Dynamo script, it's essential to understand that manipulations on a file can cause an unwanted result: Always save your file or a copy before proceeding.
  3. In order to have a correct result, it is necessary to close and reopen Dynamo every time you use the same script on the same file.


Jean-Marc Couffin
BIM Specialist

By clicking Sign Up, I agree that I have read and accepted the Privacy Policy.