I am new to Dynamo and would like to start be getting a list of all views selected in the project browser window, but haven’t been able to figure out how to do it. I figured out how to get selected elements in the model, but not how to get views selected in the project browser. Can someone point me in the right direction for that?
Ultimately I would like to tag items on multiple views all at once, or change tags of elements on multiple views all at once, and getting selected views is the first step.
Use the View.Type and View.GetType nodes from archi-lab package.
You can get selected items in the project browser with “Collector.CurrentSelection” from the Spring nodes package.
That works. Thank you very much! It doesn’t seem to matter if the boolean is true or false. Do you know why that is?
No problem. It’s just a toggle to refresh the selection. The node will not know when you have made a new selection, so you need to change an input to tell it to refresh.