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: 

how to copy ViewSection from one document to other document

5 REPLIES 5
Reply
Message 1 of 6
Anonymous
574 Views, 5 Replies

how to copy ViewSection from one document to other document

Hi all,

 

I want to import all viewsection from one rvt to my opened rvt.

as i am able to import viewplan but not viewsection

How to import viewsection from one document to another document.

 

Thanks

5 REPLIES 5
Message 2 of 6
jeremytammik
in reply to: Anonymous

Please search for the corresponding sample demonstrating this exact functionality in the Revit SDK.

 

  • DuplicateViews -- Summary: Use the copy paste APIs to copy drafting views and schedules from one document to another. The drafting view contents will also be copied. 

 

Please perform some own search before asking any question, e.g., check the help documentation, developer guide, SDK samples and previous threads here in the forum before rasing  an new thread. It will save time and effort for both you yourself and others, besides making you a better and more competent programmer able to solve your own problems, and maybe more besides...

 

Thank you!

 

Cheers,

 

Jeremy

  



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

Message 3 of 6
Anonymous
in reply to: jeremytammik

Hi jeremy,

 

i can copy elements anything other than ViewSection

 

Message 4 of 6
jeremytammik
in reply to: Anonymous

Oh I see. Can you copy and paste section views manually in the end user interface?

 



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

Message 5 of 6
Anonymous
in reply to: jeremytammik

Manually, I can't. in the end user interface.

Message 6 of 6
jeremytammik
in reply to: Anonymous

Why not? What happens? Or what is stopping you?

 

Anyway the CopyElements API will only enable you to achieve programmatically what you can do in the UI with copy and paste as well, afaik.

 



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

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

Post to forums  

Forma Design Contest


Rail Community