Message 1 of 2
Duplicating views does not preserve ViewType
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi everyone,
I am currently working on a macro that batch duplicate views.
The macro works well except for one issue: when I use the View.Duplicate Method, the ViewType of the original view gets lost in the process (meaning, if I duplicate a structural plan, the duplicate might be a structural plan, a floor plan or even a ceiling plan).
Does anybody know how to fix that issue?
The macro seems to be working on Revit 2015, but the later versions have that issue.
Thanks,
Antoine