Create callout or section

Create callout or section

Anonymous
Not applicable
1,056 Views
1 Reply
Message 1 of 2

Create callout or section

Anonymous
Not applicable

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.

0 Likes
Accepted solutions (1)
1,057 Views
1 Reply
Reply (1)
Message 2 of 2

Joe.Ye
Alumni
Alumni
Accepted solution

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
0 Likes