You are on page 1of 14

DYNAMO EXAMPLES

JUNE 17, 2020

Authored by: Maged Mohamed Yassin

1
3D Room Tags
A script that was needed to make Room names and numbers
appear in Navisworks

As we all know, room tags does not appear in the Navisworks model, the MEP
department needed to identify rooms in Navisworks quickly rather than returning to
Revit to know the room name and number, this script helped in creating automatic 3D
Room tag by placing a family that I made with a 3D model text automatically in every
room and set it’s parameters (Name and number) automatically from the room it’s
placed on.

2
Notice that the 3D Room tag might be created under your floor, that’s why you need to
adjust its height from inside dynamo from this node:

Script requirements:
• 3D Room tag Family
• Room tags placed with Name and number data
• Setting family placement height inside the script

3
Automatic Floor modeling
A script that was needed to create automatic floor finishes

This script creates automatic floors with room boundary, notice that it will create the
floor on the same level of which the room is set on. The floor finish type that’s created
for every room is taken from the “Floor Finish” Parameter in every room tag.

If you creating a floor finish above the structure slab and your room tags are placed on
the same level of the structure slab, this will create a clash between the floor finish and
structure slab, to avoid this a node was placed to set the offset of all the created floor
finishes = floor finish thickness, this node could be freezed if not needed.

4
Script requirements:
• Room tags placed with “Floor Finish” parameter
• Freezing or unfreezing height adjustment of floors

5
Adjusting floor height offset
A script that was needed to adjust floor finishes above structure
slab

This script puts all floor finishes in the same level (for example structure slab level)
then gives and offset to every floor = floor thickness to adjust all floor finishes to be
above the structure slab with any clashes

Notice that it could work only if all structure slab is on the same level, it was used in
the first floor of Ahl Masr project as its structure slab is all on the same level that’s why
the floors took an offset of (-100) as the finish level is above structure slab by 100mm
6
Script requirements:
• Offset needed to put all floors to it first (floor finish offset from structure slab)

Automatic Wall Modeling


A script that was needed to create automatic wall finishes

This script creates automatic walls with room boundary, notice that it will create the
wall till the height which the room tag “Limit Offset” is set on, that’s why the script first
adjusts all the room tag heights to top bounding element of the room (Slab/Ceiling).
Notice that it’s required to determine which to choose as a top bounding element for
the room rather it’s Ceiling or slab from inside the dynamo script. The wall finish type
that’s created for every room is taken from the “Wall Finish” Parameter in every room
tag.

7
8
Script requirements:
• Room tags placed with “Wall Finish” parameter
• Determine the top bounding element of each room whether it’s Ceiling or Slab
• Modelical Package
• Area & Volume Computations settings to be set on Areas and Volumes

Auto room height adjustment


A script that was needed to auto adjust the rooms limit offset to
the top bounding element whether it’s a ceiling or slab

This script adjusts all the room tag limit offset to top bounding element of the room
(Slab/Ceiling). Notice that it’s required to determine which to choose as a top
bounding element for the room rather it’s Ceiling or slab from inside the dynamo
script. This also helps identifying the ceiling height in every room.

9
Script requirements:
• Room tags placed
• Determine the top bounding element of each room whether it’s Ceiling or Slab
• Modelical Package
• Area & Volume Computations settings to be set on Areas and Volumes

Export Parameters and data to excel


A script that was needed to export parameters from rooms outside
to an excel sheet

This script export parameters from Revt elements to an excel sheet, you need to
identify to location of the excel sheet to be exported to, sheet name and the location
of each raw and column in the sheet, also you need to identify which elements to
export data from and which parameters to export

10
Script requirements:
• Element to export data from
• Parameters to be exported
• Excel file path
• Sheet name to be created in Excel
• Which column and row to start from

Import parameters and data from excel


to Revit elements
A script that was needed to import parameters from Excel into
Revit elements

This script import parameters from excel sheet to Revt elements, you need to identify
the location of the excel sheet to be imported to and the name of the sheet to read
data from, also you need to identify which elements to import data in and which
parameters to filled.

Script requirements:
• Element to import data to
• Parameters to be filled
• Excel file path
• Sheet name to take data from in Excel

11
Import parameters and data from excel
to Revit elements with matching
A script that was needed to import parameters from Excel into
Revit elements by matching each parameter to a certain element

This script import parameters from excel sheet to Revt elements, but while matching
to only certain Revit elements. You need to identify the location of the excel sheet to
be imported to and the name of the sheet to read data from, the Parameter to be filled
in the Revit element. Also you need to identify which elements to import data in and
which Search Keys parameters to match from Revit with, the keys parameters to match
the excel data in with Revit Search Keys, and the value parameters to fill in the Revit
element of the matched data.

Script requirements:
• Element to import data to
• Parameter to be filled in element
• Value Parameters to be filled

12
• Keys parameters from Excel to match with Revit
• Search Keys to use as matching in Revit
• Excel file path
• Sheet name to take data from in Excel

Auto sweep creation by room tags


A script that was needed to auto create wall sweeps using room
tags

This script creates wall sweeps by selecting which room to create wall sweeps at and
the type of wall sweep to be created, if it’s a reveal/vertical and the height distance.

13
Script requirements:
• Data-Shapes package
• Clockwork package
• Selecting Room to create wall sweep at
• Select Wall sweep type
• Select if sweep is Reveal
• Select if Sweep is Vertical
• Select the height distance of the sweep

14

You might also like