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: 

Extract contours from Volume TIN surface

7 REPLIES 7
Reply
Message 1 of 8
Alexey.Terno
802 Views, 7 Replies

Extract contours from Volume TIN surface

How can I extract contours from volume TIN surface using .NET?

7 REPLIES 7
Message 2 of 8

Same way as any other TIN Surface: http://docs.autodesk.com/CIV3D/2014/ENU/API_Reference_Guide/html/e83abd89-1f4b-b156-e481-2ca315ed2e7... It should allow you to cast the volume surface as a TIN Surface. 

Civil Reminders
http://blog.civil3dreminders.com/
http://www.CivilReminders.com/
Alumni
Message 3 of 8

It is no way to cast TinVolumeSurface to TinSurface.
Message 4 of 8

It sounds like you have the TinVolumeSurface cast, replace it with TinSurface instead and it should work.

Civil Reminders
http://blog.civil3dreminders.com/
http://www.CivilReminders.com/
Alumni
Message 5 of 8

I have used a AeccTinVolumeSurface type.

 

Thanks!

Message 6 of 8
bberry
in reply to: Alexey.Terno

Hello.  I have to ask. 

Why would someone need or want to have a different method for extracting a contour other than the provided "Extract Objects" method?

I'm sure there is a good reason.  I'm just trying to expand my feeble brain.  There's so much .NET programming going on...

There's so many deep thinkers on these forums.  I've been laying low for too many years.  Trying to get back on the horse.

 

respectfully

Message 7 of 8

Well one idea I would say would be an adequate stage storage command that would allow the user to a dynamic link between the Civil 3D drawing and Hydraflow. The command would let the user select a polyline around the basin, extract the contours from the surface, limiting it to the basin area (instead of the entire drawing), open the Hydraflow file and write the updated basin areas. The data would be saved in the drawing and when needed updating the user would press a button and the numbers and files would be updated. 

 

Need to label contours at interval, but want to do the entire surface instead of having to click on each and every contour label. It would extract the contours, go through each extracted contour to find where to click to then add the contours labels at interval.

 

That's two of the top of my head. I know I've needed for some other things as well. 

 

Civil Reminders
http://blog.civil3dreminders.com/
http://www.CivilReminders.com/
Alumni
Message 8 of 8
Jeff_M
in reply to: Alexey.Terno

Create a new TinSurface, paste the TinVolumeSurface into the new surface, extract the contours, delete the new surface.
Jeff_M, also a frequent Swamper
EESignature

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

Post to forums  

Rail Community


 

Autodesk Design & Make Report