One of the quickest ways to select elements in Revit and bring them into Dynamo is by using the "Collect.CurrentSelection" node from the Spring Nodes package. This node is very quick and versatile allowing you to control the active selected elements on screen rather than filtering down elements using Dynamo nodes. Once the elements are selected, they can be manipulated with other Dynamo nodes, such as renaming the elements or changing their parameter values.
![]()
This node requires the Spring Nodes package (the version shown in the snapshot above is Spring Nodes 202.1.1).
Some practical uses are to select a number of views in the project browser and rename them. Another use is selecting model elements to rename, or edit their parameters value. The possibilities are endless so long as Dynamo can recognize the active elements you have selected.
Pair this with the [Parameters] node to see what kind of parameters are available to control in Dynamo. Use the [Element.Name+] node (requires Clockwork package) to get the names of the elements in string format.
In Dynamo, search for this node by typing in "currentselection" or "collector current".
It is recommended to use this graph in manual model, especially when pairing with other nodes that should not be used in automatic mode.
To refresh your selection, flip the boolean switch and run the graph again (it doesn't matter if it is true or false, so long as it is different than the last time it was run).
*Clicking this link will bring you to the download page.
Saved in Dynamo Version:
2.0.2
Dynamo Packages Required:
Spring Nodes. Clockwork.
References:
None.
0 Comments