Hello Dynamo Community!
I have a View placed on a sheet:
I would like to replace the view with another one, which should be placed at the same location.
Placing a view on the sheet works fine with Viewport.Create from Rhythm:
And i also found a node to move a viewport to the same location as another one, works fine too, with Viewport.SetLocationBasedOnOther from Rhythm:
To put this all together i would need to get the viewport of the view. It doesn´t work with View.GetViewport from SteamNodes
One solution would be to get all viewports on the sheet and then filter the one i need. I often have many views on a sheet and i really don`t know how i could filter the viewports.
For this easy example it would work like this:
So why is the GetViewport node not working and is there any other method to get the viewport?
Would be really happy for any advice!Thank you very much in advance