PACK 03 - Switches - SCRIPT 1/3 - Analytical model ON/OFF - BIM One Inc

Switches

Here is the first script of 3 today

With this script you will be able to:

Turn on and off the analytical model elements for the model, thus making your model much lighter to manipulate

1-step process

  1. Pick the ON or OFF option and it will tick or untick all analytical model elements

The script will report how many items were processed

Warning

Script was tested in Revit 2019 and 2020 (both french and english), as it is collecting elements from categories names, if there are changes in the naming within the API, you might have to adjust it accordingly.

and for the french speaking people :grin:

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.

INTERFACE

All scripts have an interface when needed (with thanks to our friends at data|shapes).

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. 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.

WARNINGS

  • 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.

  • 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.

  • 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.

BIM1_AnalyticalON-OFF.dyn (141.8 KB)

3 Likes