How to associate a work plane to a view automatically

Hello, I´m new on dynamo and i have a problem that i want to resolve.

My problem is that when i dupplicate a view wich has it´s work plane associate, it doesn´t recognize the work plane of the view. So i want to know if there is a way in dynamo to associate a work plane to the new view automatically.


You can take a look at existing nodes and workflows in order to specify your question with some illustrations:

This is the API method you’d need to use.