Posted on April 2, 2020 by Jean-Marc Couffin
Category: Technical

5th pack of free Dynamo scripts to make your life easier in Revit MEP

Today we’re sharing three free Dynamo scripts to make your life easier when you are trying to manage MEP elements in your models, from setting the active workset from your selection, to flipping work plane of elements in batch or assign the proper level and offset to systems. These are time-consuming tasks that our BIM Experts have to execute every day, likely just like you! We will also be expanding more on this in our next blog post so be sure to subscribe to our monthly newsletter

All our scripts are available through the Dynamo forum and downloadable through our Add-ins manager (script updates are only available via the Add-ins manager)

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

PACK #5 - MEP World

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.

  • Assigning the proper level and offset to elements and systems - The main issue raised here is happening when you try to do your QTO per level for pipes or ducts created on the ground floor, by section, and all the way until the roof, the first segment drives the default level assignment. It is also true for non-hosted elements.
  • Set the current element’s workset to active- If you are an MEP engineer, you probably had to switch from the creation of cold water pipes to hot water, etc. And if you wanted to segregate your systems by workset, you probably noticed how tedious it was to switch worksets when you have 20+ worksets per project.
  • Flip the work plane of a hosted element - For lots of MEP equipment hosted on ceilings or reference planes, it is not possible to flip their side or workplane by batch. Space bar, or symmetry, nothing works.

PACK #5 - MEP World

BIM1_LevelReference

WITH THIS SCRIPT YOU WILL BE ABLE TO:

Assign the closest level and proper offset from this level for the vast majority of MEP categories, thus assigning the proper geographic elevation of elements.

The full script: Assign reference level and offset
Figure 1.0 The full script: Assign reference level and offset

1-STEP PROCESS

  1. Run the script! This script has no interface and is a one-step process.

BIM1_SetActiveWorkset

WITH THIS SCRIPT YOU WILL BE ABLE TO:

While it is possible to set the active workset in a couple of clicks, when your list of worksets becomes longer, it is difficult to do it precisely. This script lets you do it without worrying.

The full script: Set active workset from the selected element
Figure 2.0 The full script: Set active workset from the selected element

2-STEP PROCESS

  1. Select element that is on the workset you want to activate
  2. Run the script
  3. (If you want to re-run the script from Dynamo, you will have to set the boolean to false or true, unless you are running the script from Dynamo player or Dyno)

BIM1_FlipWorkplane

WITH THIS SCRIPT YOU WILL BE ABLE TO:

Flip the workplane of selected elements

The full script: Flip the workplane of selected elements
Figure 3.0 The full script: Flip the workplane of selected elements

2-STEP PROCESS

  1. Select element that is on the workset you want to activate
  2. Run the script
  3. (If you want to re-run the script from dynamo, you will have to set the boolean to false or true, unless you are running the script from Dynamo player or Dyno).


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.


Jean-Marc Couffin
BIM Specialist, BIM One

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