Sample Section Source

Sample Section Source

Civil3DReminders_com
Mentor Mentor
778 Views
1 Reply
Message 1 of 2

Sample Section Source

Civil3DReminders_com
Mentor
Mentor

My goal is to automate the process of moving sample lines, section views, sections, and sheets from one drawing to another when a user has put the section views in the same drawing as the corridor.

 

Everything is going great except for how to sample more sources. Is there a way to do this?

 

I would expect it to be in the SectionSourceCollection with an Add method. 

http://docs.autodesk.com/CIV3D/2016/ENU/API_Reference_Guide/html/cea66535-df41-c40f-8f46-c505fbad53d...

 

or a static method called Create() in the SectionSource class.

http://docs.autodesk.com/CIV3D/2016/ENU/API_Reference_Guide/html/5ec1d57b-b331-0ea7-5fa4-192b78563eb...

 

I'm not seeing it in either spot.

 

Do I need to do another Civil 3D API idea?

Civil Reminders
http://blog.civil3dreminders.com/
http://www.CivilReminders.com/
Alumni
0 Likes
779 Views
1 Reply
Reply (1)
Message 2 of 2

augusto.goncalves
Alumni
Alumni

>> Do I need to do another Civil 3D API idea?

I'm afraid so, the .Create or .Add methods are the way to go. And it's not exposed on this collection. 

Regards,



Augusto Goncalves
Twitter @augustomaia
Autodesk Developer Network
0 Likes