Revit API

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

Create callout or section

456 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: 334
Registered: ‎03-05-2010
Message 2 of 2 (424 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
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.