I’m trying to write a dynamo script which should be able to do the following:
- The script starts when a sheet is selected within Revit.
- In the beginning it asks the user to select an existing view template within the document.
- The chosen View Template has to be applied to all the views on the sheet.
- In addition of these modification, the script needs to copy some existing filters (which were applied on the views of the sheet) to all the views with the new view template.
I’ve already created a script which gives no errors and which should (according to me) do what is described in the beginning of my post.
However, it DOES NOT add the existing filters on the views with the new view template. I have tried many different flows, but I cannot find my error.
Is there anybody who can find my error or has some better ideas than mine?
Thanks a lot in advance!!