Revit API Forum
Welcome to Autodesk’s Revit API Forums. Share your knowledge, ask questions, and explore popular Revit API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Create callout or section

1 REPLY 1
SOLVED
Reply
Message 1 of 2
skeletank
920 Views, 1 Reply

Create callout or section

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.

1 REPLY 1
Message 2 of 2
Joe.Ye
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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Rail Community