AutoCAD Civil 3D General Discussion

AutoCAD Civil 3D General Discussion

Reply
Member
scottbhicks
Posts: 4
Registered: ‎08-29-2012
Message 1 of 12 (362 Views)

Color banding of points

362 Views, 11 Replies
08-29-2012 01:08 PM

I'm trying to determine a way of color banding my point files so that different ranges of elevations are visually represented by different colors.  See example below that I believe was done with a different software program.  

 

Any ideas?

 

Thanks,

Scott

 

 

*Expert Elite*
BrianHailey
Posts: 2,819
Registered: ‎04-27-2005
Message 2 of 12 (357 Views)

Re: Color banding of points

08-29-2012 01:54 PM in reply to: scottbhicks

As long as you don't have negative values and you don't need the ranges to change very often, it could be done with several expressions and components but I don't know any way to automate it. 

Brian Hailey
CAD-1.com
My Blog
Valued Mentor
owenmull
Posts: 356
Registered: ‎09-06-2011
Message 3 of 12 (345 Views)

Re: Color banding of points

08-29-2012 02:37 PM in reply to: scottbhicks

You could do it using Lord Hailey's method, of course. 

If you don't know about / don't want to learn about / don't have time to learn about expressions, probably what I would do is pop your points into a spreadsheet editor, like Excel, and sort and break them into seperate individual files according to whatever pattern you are desiring, and then add each file as a seperate Point Group in the drawing. You can then control the various Point Groups to display more how you want them.

 

Of course, for sheer CAD brilliance and impressing the ladies, Lord Hailey's solution is certainly flashier and more manly. 

 

That's what I would do, anyway.

 

HTH

-Owen
Windows 7 x 64 bit
NVidia Quadro K3000M Dual Monitor
32.0 GB RAM
Intel Core i7-3820QM @ 2.70 GHz
Civil 3D 2013 SP 2
______________________________________________________________
Usually, I find that the problem is between the keyboard and the chair.
*Expert Elite*
Jeff_M
Posts: 4,431
Registered: ‎07-22-2003
Message 4 of 12 (337 Views)

Re: Color banding of points

08-29-2012 03:43 PM in reply to: scottbhicks

Using 4 Point Groups and 4 Child label styles I was able to get this:

8-29-2012 3-41-15 PM.png

Jeff_M, also a frequent Swamper
Distinguished Contributor
cbaildon001
Posts: 163
Registered: ‎06-28-2008
Message 5 of 12 (325 Views)

Re: Color banding of points

08-29-2012 07:58 PM in reply to: owenmull

No need to take the points through Excel. You can include points in a point group based on their elevation.

 

Regards

Caleb Baildon
Surveyor
Opus International Consultants Ltd
Greymouth, New Zealand
Civil3D 2015 - Windows7 64bit
*Expert Elite*
Jeff_M
Posts: 4,431
Registered: ‎07-22-2003
Message 6 of 12 (323 Views)

Re: Color banding of points

08-29-2012 08:10 PM in reply to: cbaildon001

Which is precisely what I did to come up with the image I posted. Took about 3 minutes to setup the label styles and create the point groups. These could then be saved to a DWT for use in future drawings.

Jeff_M, also a frequent Swamper
*Expert Elite*
sboon
Posts: 2,173
Registered: ‎11-08-2005
Message 7 of 12 (315 Views)

Re: Color banding of points

08-29-2012 09:51 PM in reply to: Jeff_M

You could even skip the point groups.  Open the point editor, sort by elevation, select a group of points and assign the first label style.  Select points in the next elevation range and assign the second style etc.

*Expert Elite*
neilyj
Posts: 3,856
Registered: ‎08-01-2008
Message 8 of 12 (308 Views)

Re: Color banding of points

08-30-2012 12:30 AM in reply to: Jeff_M

Jeff - What do the Child Styles involve - never been very sure and hence never use them??

 

I'm working on a similar task at the moment and I set my point styles to Layer 0 and Colour to ByBlock and in points editor I just select the relevant points and assign the layer as required (the layer has the correct colour)

neilyj
(No connection with Autodesk other than using the products in the real world)


IDSP Premium 2015 (mainly Civil 3D 2015 UKIE & Infraworks with some limited 3ds Max Design)
Win 7 Pro x64, 240Gb SSD, 1Tb HDD
32Gb Ram Intel Xeon CPU E5-2650 v2 @ 2.6GHz (32 CPUs), ~2.6GHz
NVIDIA Quadro K4000, Dual 27" Monitor, Dell T5610
*Expert Elite*
Jeff_M
Posts: 4,431
Registered: ‎07-22-2003
Message 9 of 12 (292 Views)

Re: Color banding of points

08-30-2012 06:10 AM in reply to: neilyj

For this quick example I just created 4 child styles of the ElevationOnly label style, giving each one a name of "Elevation Only - 92", "Elevation Only - 93", etc. Then I changed the text component color to the color I desired for that range. 

 

Using Child Styles insures that if the Parent style changes, other than the properties specifically changed in the child styles, so, too, will the children.

 

And by using the Point Groups it all stays dynamic.

Jeff_M, also a frequent Swamper
*Expert Elite*
neilyj
Posts: 3,856
Registered: ‎08-01-2008
Message 10 of 12 (265 Views)

Re: Color banding of points

08-30-2012 12:25 PM in reply to: Jeff_M

Thanks Jeff - I'll look more at child styles I think

neilyj
(No connection with Autodesk other than using the products in the real world)


IDSP Premium 2015 (mainly Civil 3D 2015 UKIE & Infraworks with some limited 3ds Max Design)
Win 7 Pro x64, 240Gb SSD, 1Tb HDD
32Gb Ram Intel Xeon CPU E5-2650 v2 @ 2.6GHz (32 CPUs), ~2.6GHz
NVIDIA Quadro K4000, Dual 27" Monitor, Dell T5610
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.