Set Discipline Property for Views

This node allows you to batch-set View Discipline for a list of Revit Views.

View Discipline is pretty important, as this post shows.

In Revit, the View Discipline property is stored as a hash code of the main discipline list (Architectural, Structural, Mechanical, Electrical, Plumbing, Coordination). If you try using GetParameterValueByName, Dynamo will return this hash code.

Bakery package now includes these nodes for View Discipline management:

  • Enumerate View Discipline
  • Set Discipline Property for Views
  • Get View Discipline Code By Name
  • Get View Discipline Name by Code

How to find the family inside the Room of revit project link

This Post is show you how to get link elements , find Geometry intersection pairs and set the parameter of elements.

For the lager project that split the different part of link revit project would be very useful.


First you need to operating the Dynamo on Fmaily side Project, because the parameter need to be editable.

And following Package need.

1.Steam Node (1.0.0)

2.Clockwork for Dynamo 1.x (1.0.2)

Basic Workflow :

  1. Get the link room geometry and family location point.
  2. Check Geometry intersect with family location point.
  3. Filter the intersetion and get the “Room Name”.
  4. Get room information and set parameter to family parameter “Mark”.
  5. Family Parameter “Mark” will fill with the correct “Room Name” where the family location is.


The Dynamo workflow file can be downloaded from here


Workflow: Create Structural Framing Opening for Horizontal Ducts from a linked file in Revit 2016 using Dynamo 0.9.2

In our previous tutorial Create Structural Framing Opening for Horizontal Ducts in Revit 2016 using Dynamo 0.9.2 we saw how to create openings for ductwork in structural framing which coexist in the same file.
In today’s tutorial I have created another workflow and I will show how to create the openings but with the ductwork file inserted in the structure file as a link.
First we will use the Python Script node to get all the ducts elements from the link then we will pass those elements to the “Geometry.Intersects” Node. The intersection between two geometries is another geometry so we need to allocate the center of the intersection geometry thus we use the “Solid.Centroid” Node.
After we will got the intersection points we shall identify the duct and the beam that create each successful intersection.
Once we have the beam corresponding to each duct we will use a plane that is parallel to the beam and centered in the intersection point to get the boundaries of the intersection by get the intersection between the plane and the duct. As now we have the boundaries we can create the opening from them.
The Dynamo workflow file can be downloaded from here.
The sample Revit files can be downloaded from the following links: