Revit API

Reply
Active Contributor
skeletank
Posts: 26
Registered: ‎08-25-2010
Message 1 of 2 (404 Views)
Accepted Solution

Create callout or section

404 Views, 1 Replies
12-07-2011 11:00 AM

How can I create a callout or section (aka Element  w/Category = Builtin.OST_Viewers and w/ElementType w/Name = "Detail","Detail Section","Building Section","Wall Section",'Floor Plan",etc) using the API?  I'm able to query in one drawing them using a FilteredElementCollector but now I want to create copies of them in another drawing.

In Revit 2012 and previous version, NewViewSection() method can be used to create section view. The new view category is OST_Views, and the ElementType name is "Building Section" by default. After create the section view, you can change its type "Wall Section" or other section types.

However Revit 2012 and the previous version didn't provide the API to create the callout view. Please keep an eye on the coming Revit 2013.

 

ADN Support Specialist
Joe.Ye
Posts: 328
Registered: ‎03-05-2010
Message 2 of 2 (372 Views)

Re: Create callout or section

01-04-2012 11:11 PM in reply to: skeletank

In Revit 2012 and previous version, NewViewSection() method can be used to create section view. The new view category is OST_Views, and the ElementType name is "Building Section" by default. After create the section view, you can change its type "Wall Section" or other section types.

However Revit 2012 and the previous version didn't provide the API to create the callout view. Please keep an eye on the coming Revit 2013.

 



Joe Ye
Contractor
Developer Technical Services
Autodesk Developer Network
Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.