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: 

Export/Import Surface Analysis

11 REPLIES 11
Reply
Message 1 of 12
neilyj666
4430 Views, 11 Replies

Export/Import Surface Analysis

Within the UKIE Country Kit there is a lsp that exports/imports Surface elevation Analysis data (attached lisp file)

 

Can someone advise if this is possible to be modified so that a Slope analysis is exported/imported and how easy/difficult it is to do (or even make the alterations themselves!!!!).

 

I am lisp illiterate hence the request.....

 

Thanks

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
11 REPLIES 11
Message 2 of 12
Jeff_M
in reply to: neilyj666


@neilyj666 wrote:

 

Can someone advise if this is possible to be modified so that a Slope analysis is exported/imported and how easy/difficult it is to do (or even make the alterations themselves!!!!).

 



Nope. As you can see in this image, the only 2 Analysis properties they exposed for programmer's use are Elevation and Watershed. 

9-7-2011 12-00-02 PM.png

 

However, C3D2012 has a new .NET API for Surfaces that DOES allow access to all of the different Analysis types. So after a quick glance, it does appear this can be done for use with C3D 2012+, but not in lisp.

Jeff_M, also a frequent Swamper
EESignature
Message 3 of 12
neilyj666
in reply to: Jeff_M

Many thanks for this - I'll just need to wait until it's part of the core product.....I feel a support request coming on.....

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
Message 4 of 12
agreement
in reply to: neilyj666

Sweet !  This is exactly what I needed.  I have been using the Elevation Banding analysis display mode to create a 'weather map' version of our topo as the site contractor submitted monthly topo data to our jobsite BIM Lab.  It allowed us to show the progression of site development over time in a quick overview.

 

The main frustration I had was the lack of a function to export the elevation banding setup and import it into another surface file.  This lisp routine worked great !  I also like that it writes the schema to a txt file so we can have a master schema and apply it to multiple files.

 

Thanks for posting it.

Message 5 of 12
agreement
in reply to: agreement

Here is an example of the weather map files we are creating.

Message 6 of 12
rock_z_nelson
in reply to: agreement

Did you ever get t he route to export RGB numbers as the color?

Message 7 of 12

There's still not a way to do this OOTB, but there's an app on the store for this- for all analysis types. Check it out here:

https://apps.exchange.autodesk.com/CIV3D/en/Detail/Index?id=appstore.exchange.autodesk.com%3ac3dimpo...



Steve Hill
Civil Designer / .NET Developer
AutoCAD Certified Professional
AutoCAD Civil 3D Certified Professional
http://redtransitconsultants.com/
Autodesk Exchange Store
Twitter | LinkedIn



Please select the Accept this solution button if my post solves your issue or answers your question.

Message 8 of 12
johnfraser
in reply to: rock_z_nelson

I am also interested in rock_z_nelson's question. Is there any way to export/import the elevation color scheme as true color values?

Message 9 of 12
tyronebk
in reply to: johnfraser

I am also interested in rock_z_nelson's question. Is there any way to export/import the elevation color scheme as true color values?

 

The .net methods allow you to import/export the actual color being used, including true colors.

Message 10 of 12

I'm working on an update to include the True color options. Will post once it's live on the store



Steve Hill
Civil Designer / .NET Developer
AutoCAD Certified Professional
AutoCAD Civil 3D Certified Professional
http://redtransitconsultants.com/
Autodesk Exchange Store
Twitter | LinkedIn



Please select the Accept this solution button if my post solves your issue or answers your question.

Message 11 of 12
johnfraser
in reply to: tyronebk


@tyronebk wrote:

The .net methods allow you to import/export the actual color being used, including true colors.


Thanks Tyrone, but please elaborate! I'm not sure what you mean by the .net methods. I have tried the Country Kit lisp file, and I have done quite a bit of searching around and can't find a method anywhere that recognises true colors.

Message 12 of 12
tyronebk
in reply to: johnfraser

The C3D managed .net API, as of a few releases ago, allows you to export analysis and includes all color info (index, RGB, book). The COM API, on which I believe all development has ceased and is what lisp would use to access C3D objects, was restricted to index colors. The relevant COM methods are shown here (or above in Jeff's post).

 

The managed .net API surface analyses methods are here and include a few examples. Reference Guide for the managed API.

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

Post to forums  

Rail Community


 

Autodesk Design & Make Report