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: 

Create Tin Surface by Cropping

3 REPLIES 3
SOLVED
Reply
Message 1 of 4
Ed.McGriskin
836 Views, 3 Replies

Create Tin Surface by Cropping

Hi all, 


I was wondering if anyone has any experience with the Tin Surface CreatebyCropping Function.

 

The specific stumbling block I have come across is the best way to deal with the database that is required to export the new cropped surface to as it has to be different from the current drawing. I don't actually need the cropped surface to be saved but need to be able to adjust elevations and extract the tin from it. The tin would then be used to generate a pregrade surface in the base drawing. Previously I had done this with non-destructive boundaries but I find the cropped surface to be more accurate. 

 

Thanks in advance. 


Ed

Ed McGriskin, P.Eng.
Project Engineer @ HUSSON
Remember to accept the solution so others can find the solution also.
3 REPLIES 3
Message 2 of 4

Hi Ed,

 

I have posted a working code sample on TinSurface.CreateByCropping() in http://adndevblog.typepad.com/infrastructure/

 

Check out the following post -

 

Cropping a Civil 3D TinSurface using .NET API TinSurface.CreateByCropping()

http://adndevblog.typepad.com/infrastructure/2012/06/cropping-a-civil-3d-tinsurface-using-net-api-ti...

 

Hope this helps.

 

Thanks,



Partha Sarkar
Developer Technical Services
Autodesk Developer Network

Message 3 of 4

Perfect. Does exactly what I need it to. 


One word of note for anyone using the code snippet, the surfaces you select need to exist in the drawing and can't be data shortcuts. 

Ed McGriskin, P.Eng.
Project Engineer @ HUSSON
Remember to accept the solution so others can find the solution also.
Message 4 of 4

I am glad that it was helpful to you 🙂

 

Cheers



Partha Sarkar
Developer Technical Services
Autodesk Developer Network

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

Post to forums  

Rail Community


Autodesk Design & Make Report