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.
@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.
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.
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.
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.
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.
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?
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.
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.
@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.
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.