I notice that I am able to duplicate a view (Example 1 attachment) but I want to duplicate multiple views and place in another discipline and subset at one time (eventually extending this further that would allow me to apply a view template to the newly created views). When I select multiple Views - please note that I'm not given the option to duplicate such (Example 2 attachment)
So the closest sample that I can review to start my own custom Project Browser is Revit 2014 SKD - Samples - AllViews class. But there is a lot missing in that class that is desired. Although there is coding to create sheets - there doesn't seem to be coding to create views based on another. Is that something even possible with Revit 2014 API?
I notice that I am able to duplicate a view (Example 1 attachment) but I want to duplicate multiple views and place in another discipline and subset at one time (eventually extending this further that would allow me to apply a view template to the newly created views). When I select multiple Views - please note that I'm not given the option to duplicate such (Example 2 attachment)
So the closest sample that I can review to start my own custom Project Browser is Revit 2014 SKD - Samples - AllViews class. But there is a lot missing in that class that is desired. Although there is coding to create sheets - there doesn't seem to be coding to create views based on another. Is that something even possible with Revit 2014 API?
You can. That was one of the nice new features for Revit 2013 and 2014.
You have the command : View.Duplicate() and you can choose the kind of duplication, ViewDuplicateOption.Duplicate, .WithDetailing or .AsDependent.
You can. That was one of the nice new features for Revit 2013 and 2014.
You have the command : View.Duplicate() and you can choose the kind of duplication, ViewDuplicateOption.Duplicate, .WithDetailing or .AsDependent.
Dear Remy,
Thank you very much for your helpful answer.
Dear Stephen,
Thank you for your query.
You could also have a look at the discussion on Language Independent Section View Type Id Retrieval and the previous blog posts that it points to:
http://thebuildingcoder.typepad.com/blog/2013/08/language-independent-view-type-id-retrieval.html
They include Steve Mycynek's all-encompassing AU class CP3133 'Using the Revit Schedule and View APIs' explaining everything else there is to know about the topic of generating views:
http://thebuildingcoder.typepad.com/blog/2012/11/au-classes-on-the-view-mep-and-link-apis.html#2
Please let us know if anything remains unclear.
Best regards,
Jeremy
Dear Remy,
Thank you very much for your helpful answer.
Dear Stephen,
Thank you for your query.
You could also have a look at the discussion on Language Independent Section View Type Id Retrieval and the previous blog posts that it points to:
http://thebuildingcoder.typepad.com/blog/2013/08/language-independent-view-type-id-retrieval.html
They include Steve Mycynek's all-encompassing AU class CP3133 'Using the Revit Schedule and View APIs' explaining everything else there is to know about the topic of generating views:
http://thebuildingcoder.typepad.com/blog/2012/11/au-classes-on-the-view-mep-and-link-apis.html#2
Please let us know if anything remains unclear.
Best regards,
Jeremy
Can't find what you're looking for? Ask the community or share your knowledge.