AutoCAD Civil 3D General Discussion

AutoCAD Civil 3D General Discussion

Reply
Active Contributor
autoMick2
Posts: 38
Registered: ‎04-02-2012
Message 1 of 15 (5,651 Views)
Accepted Solution

Custom color range for surface elevations

5651 Views, 14 Replies
04-02-2012 09:58 PM

Hi everyone.

 

I've got a number of scenario diagrams to produce where I want to show the volume of material to be dredged from a harbour. There will be no "fill" just cut. In some parts of the area of interest the existing ground is below the target depth, so these holes wouldn't need to dredged further.

 

Two question for you good folk out there:

 

1. Given that the area in question contains cut areas, but also other areas that I don't want to fill. What is the best way to get a good surface map and volume estimation? Currently, I create a feature line surrounding the entire area to be less than the target depth, set the elevation of the line at that depth, then grade to surface and add an infill. This gives me cut and fill volumes (for the deep holes), of which I ignore the fill number. Is there a better way??

 

2. I've created my TIN volume surface (comparison of EG with the graded depth surface). Now I want to present the maps with "range interval with datum", so the cut volumes are shaded increasing from (say) yellow to red, whereas for the "fill" areas I don't want to show anything (transparent would be ideal or maybe greys). Is there a way to create customised color ranges for the elevation analysis? As I'm doing numerous maps I don't want to be manually editing and re-editing the analysis range details. I'm using AutoCAD C3D 2012.

 

Thanks heaps

 

- Mick

 

Civil3D 2013 (infrastructure suite) ANZ & UKIE
Self-built i7-3930K, 16Gb RAM, P9X79 m/board
SSD(system), HDD(data), GTX680, Win7Pro64

If you set up your custom surface analysis you can export that to a text file using the "Surface Analysis - Export to a File" tool that is part of the Additional Tools, in the toolbox of the toolspace pallette, in the ANZ or UK country kits. (See the first attached image)

The file output is a text file that has the colour, min elevation and max elevation. (See the second attached image)

If you have see same elevation values each time, you can just run the "Surface Analysis - Import from a File" tool on each surface that you want it for. If the elevation values for the analysis it would be much easier to edit the values in the text file, save it and then import it into the drawing.

You can add the country kits, if you don't have the ANZ or UK Country kit already installed, on an individual computer through the programs and features -> Autocad Civil 3d 2012 -> Uninstall/Change -> Add/Remove Features. Unfortunately there is no installer for the country kit.

To get a surface analysis that only shows the cut, create your elevation analysis with renges starting at your maximum cut value up to zero for the volume surface. Anything that is fill, i.e. a positive value will have no value and colour set so will not be shown in the surface analysis. See the attached third screen shot which shows a volume surface that ranges from -40.158 to +20.120 (If you want you can even have seperate ranges in the analysis with gaps in between. e.g. -10 to -5, 0 to 2, 5 to 10)

There is one other trick I know but it only works if you are always going to use the same colors for the same elevation ranges every time. 

1. Just make a surface (I always add something to it so it isn't empty)

2. Go into the analysis tab and setup your colors however you want.

3. Select the surface and export it to a block.

 

Now when you make a new drawing you can import the block, explode it, add your new data (delete the junk you put in it for step 1) and it will have your color scheme.  You also have to rename it.

 

I use this for things like cut / fill analysis where I just want to make sure I am within a tolerance.  I have also used it for excavation projects too.

 

I really wish Autodesk would just allow us to assign a gradient ramp where we could pick something like blue to brown to green and then let us say blue is elev -999, brown is 0 and green is 999 or something like that.

 

Mark

Contributor
theminiguy
Posts: 23
Registered: ‎11-12-2008
Message 2 of 15 (5,636 Views)

Re: Custom color range for surface elevations

04-03-2012 12:08 AM in reply to: autoMick2

Hey Mick

 

I have been asking for this since 2008. I think it was a bonus when we we given the option to set by range or by elevation.

 

We need to have a style option for the colours for pre-determined depths. I do elevation assessments day in - day out. It is a real let down that you have to manually change the colours.

 

I did see a post a few years back about hacking the system to change the limited range to show colours you want, but i have 300+ Civil 3D modellers that i support, i cant go around each PC and hack it.

 

It should be on the whish list for 2014, or better yet past of the sub pack?

 

I would like to know if anyone else has found a sollution, or if Autodesk is reading this to contact me for more info.....

 

Cheers

~~Laptop~~
Quad Core 2.3GHz Intel, 64-Bit, Win 7
16GB Ram, 2GB Graphics Card
256GB SSD

~~AU2009 Speaker~~
CV314-5: AutoCAD® Civil 3D® Design Straight Out of the Box: Going Where the Design Wizards Can't Always Go .....
Active Contributor
autoMick2
Posts: 38
Registered: ‎04-02-2012
Message 3 of 15 (5,627 Views)

Re: Custom color range for surface elevations

04-03-2012 01:48 AM in reply to: theminiguy

OK thanks theminiguy, I guess that's exactly the answer I didn't want to hear. I searched for the post you mentioned but can't find it,could you post a link? What's annoying is that I could live with say the RED and the HYDRO sets, but when used together one is always in the wrong order:

 

e.g. -5.........................0..............................+5

......Bright.........Dark......Bright..................Dark

 

It would make a lot more sense to be able to have the darks both near zero and more vibrant colours at the extremes.

 

What about my first question? any comments?

 

thanks

 

- Mick

Civil3D 2013 (infrastructure suite) ANZ & UKIE
Self-built i7-3930K, 16Gb RAM, P9X79 m/board
SSD(system), HDD(data), GTX680, Win7Pro64
Contributor
theminiguy
Posts: 23
Registered: ‎11-12-2008
Message 4 of 15 (5,619 Views)

Re: Custom color range for surface elevations

04-03-2012 04:06 AM in reply to: autoMick2

Mick,

This is from: http://www.aecsystems.com.au/Forums.html

 

"The first one is possible with a little bit of hacking.


You need to find a file called MapThematicRamps.arm (usually in C:\Program Files\AutoCAD Civil 3D 2010).


This is an XML file so can be edited in a simple notepad or ideally a dedicated XML editor (notepad++ is a good free example). This will allow you to erase, edit or add to the colour schemes."

 

I have not done this.

 

And from what i can see in 2012, the option to change the "Scheme" has been removed..

 

I hope it is back in 2013..

 

Cheers

TMG



 

~~Laptop~~
Quad Core 2.3GHz Intel, 64-Bit, Win 7
16GB Ram, 2GB Graphics Card
256GB SSD

~~AU2009 Speaker~~
CV314-5: AutoCAD® Civil 3D® Design Straight Out of the Box: Going Where the Design Wizards Can't Always Go .....
Active Contributor
autoMick2
Posts: 38
Registered: ‎04-02-2012
Message 5 of 15 (5,621 Views)

Re: Custom color range for surface elevations

04-03-2012 04:28 AM in reply to: theminiguy

Thanks TMG,

 

Well... I opened the mapthematicramps.arm file with xml notepad, it certainly looked straight forward. So as a test I just reversed the "Reds" entry from 10,12,14,16,18 to the reverse. Saved it and fireup up C3D. I reapplied the analysis on my surface, but nothing changed. I also tried adding another ramp theme, but once again it seems like C3D ignores what is in that file. 

 

I thought perhaps that the changed mapthematicramps.arm file might only be read when creating a new drawing, but once again, no change.

 

Looks like I'll have to dig deeper.

 

Cheers

 

- Mick

Civil3D 2013 (infrastructure suite) ANZ & UKIE
Self-built i7-3930K, 16Gb RAM, P9X79 m/board
SSD(system), HDD(data), GTX680, Win7Pro64
Distinguished Mentor
andrewpuller3811
Posts: 777
Registered: ‎07-30-2008
Message 6 of 15 (5,621 Views)

Re: Custom color range for surface elevations

04-03-2012 05:55 AM in reply to: autoMick2

If you set up your custom surface analysis you can export that to a text file using the "Surface Analysis - Export to a File" tool that is part of the Additional Tools, in the toolbox of the toolspace pallette, in the ANZ or UK country kits. (See the first attached image)

The file output is a text file that has the colour, min elevation and max elevation. (See the second attached image)

If you have see same elevation values each time, you can just run the "Surface Analysis - Import from a File" tool on each surface that you want it for. If the elevation values for the analysis it would be much easier to edit the values in the text file, save it and then import it into the drawing.

You can add the country kits, if you don't have the ANZ or UK Country kit already installed, on an individual computer through the programs and features -> Autocad Civil 3d 2012 -> Uninstall/Change -> Add/Remove Features. Unfortunately there is no installer for the country kit.

To get a surface analysis that only shows the cut, create your elevation analysis with renges starting at your maximum cut value up to zero for the volume surface. Anything that is fill, i.e. a positive value will have no value and colour set so will not be shown in the surface analysis. See the attached third screen shot which shows a volume surface that ranges from -40.158 to +20.120 (If you want you can even have seperate ranges in the analysis with gaps in between. e.g. -10 to -5, 0 to 2, 5 to 10)

If this fixed your issue, click on "Accept as Solution"

Andrew Puller
Maitland, NSW, Australia
Windows 7 Enterprise 64bit
Intel core i7 2600 @ 3.40 GHz with 16GB Ram
Civil 3d 2013 64bit
Valued Contributor
907Trekker
Posts: 58
Registered: ‎10-28-2009
Message 7 of 15 (5,596 Views)

Re: Custom color range for surface elevations

04-03-2012 05:30 PM in reply to: autoMick2

There is one other trick I know but it only works if you are always going to use the same colors for the same elevation ranges every time. 

1. Just make a surface (I always add something to it so it isn't empty)

2. Go into the analysis tab and setup your colors however you want.

3. Select the surface and export it to a block.

 

Now when you make a new drawing you can import the block, explode it, add your new data (delete the junk you put in it for step 1) and it will have your color scheme.  You also have to rename it.

 

I use this for things like cut / fill analysis where I just want to make sure I am within a tolerance.  I have also used it for excavation projects too.

 

I really wish Autodesk would just allow us to assign a gradient ramp where we could pick something like blue to brown to green and then let us say blue is elev -999, brown is 0 and green is 999 or something like that.

 

Mark

Active Contributor
autoMick2
Posts: 38
Registered: ‎04-02-2012
Message 8 of 15 (5,580 Views)

Re: Custom color range for surface elevations

04-03-2012 10:34 PM in reply to: andrewpuller3811

Andrew, this is excellent information and worked perfectly for my application. It's amazing that the native functionality of AutoCAD is so poor in this respect, but your work around is certainly a practical solution. Thanks for taking the time to explain it so concisely too.

 

Regards

 

- Mick

 

 

Civil3D 2013 (infrastructure suite) ANZ & UKIE
Self-built i7-3930K, 16Gb RAM, P9X79 m/board
SSD(system), HDD(data), GTX680, Win7Pro64
Active Contributor
autoMick2
Posts: 38
Registered: ‎04-02-2012
Message 9 of 15 (5,574 Views)

Re: Custom color range for surface elevations

04-03-2012 10:36 PM in reply to: 907Trekker

Trekker, thanks for the reply. I can see how this would work nicely too. I think in my instance I'll go with the other option, but I'll certainly keep your suggestion in mind. I'm a new user to AutoCAD, but I imagine your technique may have several applications, not just with surface analyses. Thanks again

 

- Mick

Civil3D 2013 (infrastructure suite) ANZ & UKIE
Self-built i7-3930K, 16Gb RAM, P9X79 m/board
SSD(system), HDD(data), GTX680, Win7Pro64
New Member
Xelbi
Posts: 1
Registered: ‎12-14-2010
Message 10 of 15 (5,066 Views)

Re: Custom color range for surface elevations

08-27-2012 06:08 PM in reply to: autoMick2

Is there any way of copying the Slope using the Additional tools method?

This works perfectly for Elevations however my company uses the same slope percentages and colours for the majority of our slope calculations.

Any help would be much appreciated.

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.