how to copy ViewSection from one document to other document

how to copy ViewSection from one document to other document

Anonymous
Not applicable
883 Views
5 Replies
Message 1 of 6

how to copy ViewSection from one document to other document

Anonymous
Not applicable

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

0 Likes
884 Views
5 Replies
Replies (5)
Message 2 of 6

jeremytammik
Autodesk
Autodesk

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

0 Likes
Message 3 of 6

Anonymous
Not applicable

Hi jeremy,

 

i can copy elements anything other than ViewSection

 

0 Likes
Message 4 of 6

jeremytammik
Autodesk
Autodesk

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

0 Likes
Message 5 of 6

Anonymous
Not applicable

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

0 Likes
Message 6 of 6

jeremytammik
Autodesk
Autodesk

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

0 Likes