This is what I have so far. Basically, I am trying to create a node that will read all of the views in Revit, go through each one individually and determine if it is a 3D view, and if it is, create a section box for that view through the “Sectionbox.ByElements” node. The problem/reason I have to create this node is because the “Sectionbox.ByElements” node can only create section boxes on the active view, and I simply need the node to search through all of the 3D views and create section boxes for all of them. I run into trouble with the If node. I am new to Dynamo and programming in general, and I assume I need a python script that will run the “Sectionbox.ByElements” node if the View.TypeIs3D node returns true.
If there is a more efficient way of completing the task I am trying to complete, please let me know! Any help is appreciated.