DynamoMEP Node Index

Created by Simon Moreau, DynamoMEP is a package for working with MEP elements, Rooms and Spaces. Note: These nodes are distributed in a dll, not as dyf files.

Current Node List:

Group.PlaceGroupInstance Place an instance of a Revit group
Group.FromElement Create a group from an Revit group
GroupType.FromElements Create a Revit GroupType from a set of elements
GroupType.FromElementsAndName Create a Revit GroupType from a set of elements and a name
GroupType.FromElement Create a GroupType from an Revit GroupType
Space.ByPointAndLevel Create a MEP Space based on a location and a level
Space.ByPoint Create a MEP Space based on a location
Space.FromElement Create a MEP Space from an existing MEP Space
Space.GetIdentificationData Retrieve a set of properties for the Space
Space.BoundaryElements Retrieve space boundary elements
Space.Level Retrieve the space associated level
Space.LocationPoint Retrieve the space location
Space.IsInSpace Determine if an element lies within the volume of the Space
Space.Grid Return a grid of points in the space
CustomRoom.ByPointAndLevel Create a Room based on a location and a level
CustomRoom.ByPoint Create a Room based on a location
CustomRoom.FromElement Create a Room from an existing Room
CustomRoom.GetIdentificationData Retrieve a set of properties for the Room
CustomRoom.IsInRoom Determine if an element lies within the volume of the Room
CustomRoom.Grid Return a grid of points in the room
CustomRoom.BoundaryElements Retrieve room boundary elements
CustomRoom.Level Retrieve the room associated level
CustomRoom.LocationPoint Retrieve the room location
CustomRoom.Windows Retrieve windows around the room
CustomRoom.Doors Retrieve Doors around the room

Rolling Pin Node Index

I recently sliced off a few nodes focused on package management and have placed them in a new package called RollingPin.

Current Node List:

Check DYF folder for Dependencies in Package Folders
Get DYF Dependencies for One DYF File
Get DYF Dependencies through Recursion v1
List Nested Node Nicknames for Folder
List Nodes in DYFs for an Entire Folder
Node Names From Directory String
Package Folder Details
Report Dynamo Package Details by Folder
Show Dependency Ids for one DYF
Show Dependency Nodes for one DYF
Summary and Node Search for a Folder of DYFs

Geometry.SplitRecursively

Performing recursive actions with nodes is never easy. You usually have to resort to some form of a script. The below case is a good example of this. It uses Dynamo’s DesignScript language to recursively cut the resulting geometry over and over, until the list of cutting tools is exhausted. For a successful result, the cutting tools have to be sorted in the order of which the geometry should be cut.

 

dynamosandbox_2016-12-16_21-18-28

Inputs:

  • geometry: the solid or surface you’re trying to split
  • tools: the objects you’re trying to cut your geometry with, for example a list of planes or surfaces.
  • pickPoint: a point that is near the end of the cut tools and controls the direction of the cut.
datashapes20170104

Data-Shapes Node Index

Package published by elayoubi.mostafa

Current nodes:

Add Shared Parameter(s) from txt Add shared parameters to project from SharedParameter .txt file
All Lines of LineStyle Gets all lines in a project with a giver LineStyle
Categories list Gives list of all Revit categories and a matching list of their names
Duplicate Element Duplicates all types of elements including view templates
Element(s) cut Cutting element(s) with element
Export to FBX Exports 3D views to FBX format
Export Views to NavisWorks exports 3d views to NavisWorks
Grid.SetVerticalExtents Set the vertical extents of all project grids
Line LineStyle Gives LineStyle name and element of Lines
ModificationTracker.AllChanges Takes ExistingElements Data as input and outputs lists with all geometry/parameter values change combinations . Check out http://www.Data-Shapes.net for more informations .
ModificationTracker.GeometryChanges Takes ExistingElements Data as input and outputs elements with same geometry and elements with changed geometry . Check out http://www.Data-Shapes.net for more infos
ModificationTracker.ModelComparison Compares elements from the current version of the model and a previous version (Current version is the current document by default) and returns existing elements data, new elements, deleted elements and a report. Check out http://www.Data-Shapes.net for more infos.
ModificationTracker.ParameterChanges Takes ExistingElements Data as input and outputs elements with same parameter values and elements with changed parameter values. Check out http://www.Data-Shapes.net for more infos.
RayBounce On Link Category Same functionality as raybounce but takes linked model elements of selected category into account.
RayBounce On Linked Model Same functionality as raybounce but takes linked model elements into account
Replace viewports by center Replaces vieports on sheets according to list of points. (0 _0) is bottom left of sheets
Select Face (s) (PickObject) Same as OOTB Select Faces _ but can be used through Dynamo Player
Set Active Family Parameter By Name Set a parameter inside an active family document
SharedParameters from txt file Gets parameters from SharedParameter .txt file
UI.Boolean input Creates a boolean input for UI.MultipleInputForm ++ . Check out http://www.data-shapes.net for more infos!
UI.ColorInput Data Create a color selection input for UI.MultiInputForm++ . Check out http://www.data-shapes.net for more infos! Warning : Only works with Revit 2017
UI.DirectoryPath Data Creates a DirectoryPath input for UI.MultipleInputForm ++ . Check out http://www.data-shapes.net for more infos!
UI.DropDown Data Create data for DropDown input in UI.MultiInputForm ++ . Check out http://www.data-shapes.net for more infos.
UI.FilePath Data Create filepath input for UI.MultipleInputForm ++ . Check out http://www.data-shapes.net for more infos !
UI.Listview Data Create data for ListView input in UI.MultiInputForm ++ . Check out http://www.data-shapes.net for more infos.
UI.MultipleInputForm Create a form with multiple inputs.
UI.MultipleInputForm ++ Create a form with multiple inputs.
UI.SelectEdges Data Creates a Revit edge selection input for UI.MultipleInputForm++ . Check out http://www.data-shapes.net for more infos!
UI.SelectFaces Data Creates a Revit face selection input for UI.MultipleInputForm++. Check out http://www.data-shapes.net for more infos!
UI.SelectModelElements Data Creates a Revit element selection input for UI.MultipleInputForm++ . Check out http://www.data-shapes.net for more infos!
UI.TextBox Data Create Data for TextBox input in UI.MultipleInputForm ++ . Check out http://www.data-shapes.net for more informations
WallSweepOnWall Creates a wallsweep or reveal on a wall

datashapes20170104

 

Home page: https://data-shapes.net/

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.

is-family-in-room

The Dynamo workflow file can be downloaded from here

 

structure-framing-openings-ductwork-link

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.
create-structural-framing-openings-for-ductwork-link
The Dynamo workflow file can be downloaded from here.
The sample Revit files can be downloaded from the following links: