I just recently was upgraded to C3D 2013 and I am designing my first road using the software. I've been having all sorts of fun and frustrations with Corridors and Cross Sections and learning slowly, but its all the little things that keep bogging me down.
One of the problems I have run into is when I use the Code Set label for Grade/Slope in Cross Sections I get label that reads -2.00% and then the word "Vertical". Is there an easy way to get rid of the word "Vertical" in every one of my 90+ Cross Sections? I checked under Label Style and it seems the only option is {Link Grade} which is what puts the Slope and Vertical. I mean what is the purpose in that word even appearing? I know that I can right click on the label and change visibility to False and it won't show, but I shouldn't have to do that for 90+ Cross Sections. Also I've seen the word "Horizontal" labeled as well and I don't want that word to show either.
I'd appreciate any help dealing with this issue. Thanks.
Bryan Collins
Solved! Go to Solution.
Solved by Jeff_M. Go to Solution.
Perhaps if you could attach enough of your working .dwg so we can take a look at your Code Set Style for this project.
Bill
The drawing is too big. Its around 3.5 mb.
Trying to attach a new file that I pulled the code set into and keep getting a file extension or file type error. Going to try and zip it to see if that helps matters.
"Vertical" is added to a vertical links instead of ∞%. I looked at the screen capture and it looks like there is a vertical yellow link at the edge of the road that is problem. Not sure what subassemblies were used there or what is going on without looking at the model (or at least a small part of it).
Regards,
Peter Funk
Autodesk, Inc.
I checked the Cross Section Subassembly and the one shows the Vertical label is the ShoulderVerticalSubbase. I attached the properties box of the SA.
have you checked the text component of the label? select the label and click modify style, then under the "layout" tab look for the field "contents", click on the field and then click on the three dots as shown in the picture. If the text on the right side shows the word "vertical" on it, then you could select and erase it, then click apply and your problem would be solved for the 90+ cross sections. Hope that helps.
The only thing in Text Content is {Link Grade} which is what is giving the -2.00% and the word Vertical. I've been all through code set styles and the subassembly. I am not seeing anything that is out of place.
Use an expression such as this (for a 0.08" high text label):
IF(ABS({Link Grade})>0.25,0,0.08/12)
And the Link Label Style's Text Component text height to use that expression. This expression will eliminate the label on any link steeper than 25%.
As usual, it appears that Jeff hit the nail on the head. The word VERTICAL does not appear in the formula, as far as I could tell.
Bill
Thanks everyone for your help and especially Jeff. His expression solution worked. Oh and I wouldn't have even known the steps to do an expression if I hadn't read something earlier in the day yesterday about getting rid of the word "Horizontal" as well. After reading that Being Civil blog post form 2012 (http://beingcivil.typepad.com/my_weblog/2012/12/corridor-top-link-label-tip.html ) I suspected the same type thing would be needed to get rid of the word "Vertical" in my labels, but not know the basics behind Expressions no matter what I tried it didn't seem to work. So thanks again Jeff for your expert solution.
Now does everyone know how to do these expressions for labels? If not, how come I couldn't find anything on the internet about it. Seems it would be a common issue and people would be posting all about it unless I setup something wrong in my assembly. I am trying to self teach myself about corridors and cross sections by playing around with everything in C3D and watching gigabytes of videos I've downloaded online and my old Master Civil 3D 2010 book. Still so many things I'm not understanding about it all.
It took me over 6.5 hrs yesterday alone trying to figure out how to manipulate hatching in the cross sections. Then found out that some of the Subassemblies that come with C3D isn't coded correctly Would never thought that the SuBbase would not be controlled by the SuBbase code. In fact it is controlled by the Basic code. And I stil haven't figured out how to get a Cut/Fill hatch to show in the cross sections either.
So if there is by chance some expert in corridors and cross sections that would be willing to help me directly through emails or whatnot please let me know. Email: bcollins@davisfloyd.com
Mark Green
Working on Civil 3D in Canada
Hello thanks for this thread. Is someone could point me a link to the expression code manual for C3D2016. Because it seems a lot can be done with it. Best regards, Jeremy
I finally remove the word "VERTICAL" but is there also any chance i can remove the arrow sign that comes with it? I want to present the percent grade with arrow sign. Thanks
Where exactly is this expression pasted? Is it in the "Text Height" box of the label style Layout Tab? Or is it somewhere in the Text Contents area? I have this very issue and I am confident this will be a good solution for me if I can just figure out where to paste that expression.
Thanks.
Per @Jeff_M's solution:
Create the expression in Toolspace > Settings > General > Label Styles > Links > Expressions (i.e. "No Vertical")
Now edit the approporiate style and set the Text Component Text Height to teh expression ("No vertical")
You should see this take effect in the peview.
Note: When setting the text height, you can not type the name of the expression; there is no "..." and drop down to select from. You need to select, then scroll up or down using the arrow keys or scroll wheel.
Scroll to select "No Vertical"
Done!
Good Luck!
Christopher Stevens
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.