Community
Civil 3D Forum
Welcome to Autodesk’s Civil 3D Forums. Share your knowledge, ask questions, and explore popular AutoCAD Civil 3D topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Label Styles and Description key parameters

20 REPLIES 20
SOLVED
Reply
Message 1 of 21
allywhite666
1103 Views, 20 Replies

Label Styles and Description key parameters

I have been attempting to get my trees looking like this

tree1.jpg

 

So from my reading I set my des. key up like this


desc key2.jpg

 

However this produces one single line of text with the description "span 0 dia. 0.0 Ht. 0" I want them on 3 separate lines, like the above picture.

 

So I set up a label style

label 1.jpg

 

With this component

label 2.jpg

 

So does anyone know how I get the  parameters $1 $2 $3 to go in the correct label component?

20 REPLIES 20
Message 2 of 21
rl_jackson
in reply to: allywhite666

Your Code from the field collected data would look like this

T 6 2 4

With 2 being your diameter, 4 being the height and 6 being you span/drip line.

Check out the help on description keys it will help.

Note: The code #'s must be separated by spaces.

Rick Jackson
Survey CAD Technician VI

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

Message 3 of 21
Pointdump
in reply to: allywhite666

I don't think you can do what you want to do through description keys. I might be wrong, and it certainly is an interesting challenge. You can do this with User Defined Properties, but it will involve either manually entering in the information point by point, or using the Survey Database.

 

UDP.png

 

Dave

Dave Stoll
Las Vegas, Nevada

EESignature

64GB DDR4 2400MHz ECC SoDIMM / 1TB SSD
NVIDIA Quadro P5000 16GB
Windows 10 Pro 64 / Civil 3D 2024
Message 4 of 21
MikeEvansUK
in reply to: allywhite666

Look on AU for CV201-5 "Everything You Ever Wanted to Know About Points, But Were Afraid to Ask".

 

This is a very good document for description keys. The only easy way I know of is to target the Full description and change the maximum width in the labels style otherwise you will need to enter a user defigned property classification.

 

I would go with the Maximum width and add some spaces between the $# in the description format until you get the desired look.

 

 

 

Mike Evans

Civil3D 2022 English
Windows 7 Professional 64-bit
Intel(R) Core(TM) i7-3820 CPU @ 3.60GHz (8 CPUs), ~4.0GHz With 32768MB RAM, AMD FirePro V4900, Dedicated Memory: 984 MB, Shared Memory: 814 MB

Message 5 of 21
Pointdump
in reply to: MikeEvansUK

Mike,

 

That sounds interesting, but I can't find it. Can you post a link?

 

Everything.PNG

 

Dave

Dave Stoll
Las Vegas, Nevada

EESignature

64GB DDR4 2400MHz ECC SoDIMM / 1TB SSD
NVIDIA Quadro P5000 16GB
Windows 10 Pro 64 / Civil 3D 2024
Message 6 of 21
MikeEvansUK
in reply to: allywhite666

What a shame, it appears anything prior to 2011 has been Archived or removed. What a wealth of knowledge removed.

 

Maybe Matt Kolberg can help as he chaired the event.

Mike Evans

Civil3D 2022 English
Windows 7 Professional 64-bit
Intel(R) Core(TM) i7-3820 CPU @ 3.60GHz (8 CPUs), ~4.0GHz With 32768MB RAM, AMD FirePro V4900, Dedicated Memory: 984 MB, Shared Memory: 814 MB

Message 7 of 21
mathewkol
in reply to: allywhite666

Thanks for the accolades Mike. I will try to find my document and post it here. I'm enroute so it won't happen until sometime tomorrow.
Matt Kolberg
SolidCAD Professional Services
http://www.solidcad.ca /
Message 8 of 21
Pointdump
in reply to: mathewkol

Matt, if you can dig that up, it will be greatly appreciated.

 

Nosing around, I found Tom Pisani's Webinar, C13081: Pointing out AutoCAD Civil 3D Points. Good, solid information, and in about 36 minutes is a neat idea I didn't know about. Notes--you can tie them to things like points and alignments, and add supplemental information. Might have some application here.

 

General_Note.png

 

Reference_Text.png

 

Dave

Dave Stoll
Las Vegas, Nevada

EESignature

64GB DDR4 2400MHz ECC SoDIMM / 1TB SSD
NVIDIA Quadro P5000 16GB
Windows 10 Pro 64 / Civil 3D 2024
Message 9 of 21
mathewkol
in reply to: allywhite666

Here is the document Mike was speaking of.

Matt Kolberg
SolidCAD Professional Services
http://www.solidcad.ca /
Message 10 of 21
Pointdump
in reply to: mathewkol

Excellent! Thanks, Matt!

 

Coffee is on and I'm going to read.

 

Dave

Dave Stoll
Las Vegas, Nevada

EESignature

64GB DDR4 2400MHz ECC SoDIMM / 1TB SSD
NVIDIA Quadro P5000 16GB
Windows 10 Pro 64 / Civil 3D 2024
Message 11 of 21
allywhite666
in reply to: allywhite666

Thanks to everyone who tried to help but after reading all the information given and spending hours browsing through web pages, I cannot find an answer.

 

Using the description keys you only get one line of input, I could not find a wild card to indicate to start a new line or any option where different parameters could be put on separate lines leaving the input to be ridiculously long and unusable in a drawing (in which case all trees would have to be hand edited).

 

Either the answer to this problem is well hidden or there is no answer to the problem and it can't be done. Either way this is yet another failure that I have found with Civil 3D.

Message 12 of 21
sboon
in reply to: allywhite666

Is this what you're looking for?

 

Clipboard01.png

 

After reading Mike Evan's post I experimented with the Maximum width setting in the point label style and adding extra spaces between the components of the Description Format to force the line breaks where I wanted them.  As long as the field descriptions have a consistent number of characters for each component it seems like it should work.

 

Steve
Please use the Accept as Solution or Kudo buttons when appropriate

Steve
Expert Elite Alumnus
Message 13 of 21
allywhite666
in reply to: sboon

Yes the picture in the background is exactly what i want. So make the maximum width smaller? Why cant there be a simple way to do this?

 

Message 14 of 21
sboon
in reply to: sboon

With a little more work I was able to produce this.

 

Clipboard01.png

Steve
Expert Elite Alumnus
Message 15 of 21
allywhite666
in reply to: sboon

So what exactly did you do to get it?

Message 16 of 21
sboon
in reply to: allywhite666

I started by playing with the maximum width until I found setting that forced a line break at the longest line I wanted to maintain.  In this case 0.8" seems to work for the first row in all of the sample data I've been using.  Then I edited the Description Format, adding spaces between the second and third components until it forced the second line break.

 

BTW - in Civil3d almost nothing is easy to do the first time, but once you figure it out and get the settings right you'll never have to worry about it again. Smiley Happy

 

Steve
Please use the Accept as Solution or Kudo buttons when appropriate

Steve
Expert Elite Alumnus
Message 17 of 21
allywhite666
in reply to: sboon

Yes this is what I have been trying to do. My units are in mm.

1.jpg

 

0.300 gives me this.

 

2.jpg

 

So then I went to des. key and added spaces but....

3.jpg

 

4.jpg

 

Frustrating. Smiley Sad

Message 18 of 21
sboon
in reply to: allywhite666

Post your drawing, or a point file.

Steve
Expert Elite Alumnus
Message 19 of 21
allywhite666
in reply to: sboon

Ok I got it finally.

Looking at yours 0.8" I tried 20.32mm, this didn't work 30mm gave me -

span 0 dia .0

Ht. 0

 

.......and 15mm fixed it.

 

Thank you so much Steve I was pulling out my hair with this.

You are a hero!

<3<3<3<3

Message 20 of 21
sboon
in reply to: sboon

Metric version of my sample file.

 

Steve
Please use the Accept as Solution or Kudo buttons when appropriate

 

PS - I don't normally do this, but I switched the solution from my post to Mike's.  He had the correct answer, I just helped you to figure out how to implement it.

Steve
Expert Elite Alumnus

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

Post to forums  

Rail Community


 

Autodesk Design & Make Report