Community
Civil 3D Customization
Welcome to Autodesk’s AutoCAD Civil 3D Forums. Share your knowledge, ask questions, and explore popular AutoCAD Civil 3D Customization topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Update Code - Extract All Surface Boundaries

4 REPLIES 4
SOLVED
Reply
Message 1 of 5
neilyj666
383 Views, 4 Replies

Update Code - Extract All Surface Boundaries

The code supplied by Andrew in this thread http://forums.autodesk.com/t5/autocad-civil-3d-customization/code-to-extract-all-surface-boundaries/... worked great in 2014 but not in 2015.

 

I get the following message and then Civil crashes....:(

 

Cannot Get Objects.jpg

 

Does anyone have time to take a look at the source code and tweak for 2015 please?

 

Many thanks

 

Neil

neilyj (No connection with Autodesk other than using the products in the real world)
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


AEC Collection 2024 UKIE (mainly Civil 3D UKIE and IW)
Win 11 Pro x64, 1Tb Primary SSD, 1Tb Secondary SSD
64Gb RAM Intel(R) Xeon(R) W-11855M CPU @ 3.2GHz
NVIDIA RTX A5000 16Gb, Dual 27" Monitor, Dell Inspiron 7760
4 REPLIES 4
Message 2 of 5

The post you mentioned have a code and a binary version, which was compiled for 2014 (R19.1), and therefore all the Interop references are for this specific release.

 

To upgrade it to 2015 you need to open the original code and change all the references to 2015 (R20.0), most important the Interop references.

Regards,



Augusto Goncalves
Twitter @augustomaia
Autodesk Developer Network
Message 3 of 5

Message 4 of 5

And, finally, to make a .NET version that is compatible with multiple releases, like in LISP, the code must not use Early-Binding, but Late-Binding instead (just lisp is using). But as you already have the LISP working this might not be relevant...  🙂

Regards,



Augusto Goncalves
Twitter @augustomaia
Autodesk Developer Network
Message 5 of 5

Yes this was posted twice for some reason...my knowledge of .NET and LISP is approximately zero, hence the request for assistance which was ably answered by Jeff and Tyrone.

The LISP routine works just great...:)

neilyj (No connection with Autodesk other than using the products in the real world)
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


AEC Collection 2024 UKIE (mainly Civil 3D UKIE and IW)
Win 11 Pro x64, 1Tb Primary SSD, 1Tb Secondary SSD
64Gb RAM Intel(R) Xeon(R) W-11855M CPU @ 3.2GHz
NVIDIA RTX A5000 16Gb, Dual 27" Monitor, Dell Inspiron 7760

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

Post to forums  

Rail Community


 

Autodesk Design & Make Report