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: 

Deflection angle as criteria to label named angle

7 REPLIES 7
SOLVED
Reply
Message 1 of 8
kaiknux
2048 Views, 7 Replies

Deflection angle as criteria to label named angle

Sub - title:

Deflection angle as criteria to label named angle

 

Body:

Hi everyone, I'd count on any help. I need to sort the deflection angles in my polylines in a specified criteria, and use this 'category' to label my alignment horizontal breaks. Whereas there isn't a 'deflection angle' label option without curving the alignment, I'm using a support polyline in a non-plottable layer with a small radius fillet just to get the angle label without screwing up the station labels of the alignment.

 

What I need is something like that:

LABEL:

 

Station X.y, stuff

--------------------------------   Name of the deflection angle

Deflecion Angle x°,y'

 

This would be a sum of the alignment label with the polyline label, staying together because of their similar leader lines. I'm already succeeding the deflection angle and the alignment station part, but the Name of the deflection angle I don't have idea how to do it. I improvised a LISP to do it as annotation&drafting blocks... it's toilsome and painful to do it, since i have to copy, explode and prepare the labels to use the lisp, and when I use plan production sheets, it gets all mixed up because of the orientation of the labels (view).

 

The criteria is something like that, to define the Name of the deflection angles

 

TYPE 1 - Exact angles

Angle           Name

22°30'            C22

45°                 C45

67°30'            C45+C22

90°                 C90

112°30'         C90+C22

135°               C90+C45

 

TYPE 2 - Other angles (decimal)

Angle range          Name           Excludes

0 to 11.25              D1             

11.25 to 33.75      D2               22.50 (referred as 22°30' last table)

33.75 to 56.75      D3               45

56.25 to 78.75      D4               67.50 (referred as 67°30' last table)

78.75 to 90            D5               90

90 to 112.5            C90+D1     90

112.5 to 135         C90+D2     135

 

I think this is a little complicated, is there something I can study to get to that? Thanks already.

7 REPLIES 7
Message 2 of 8
troma
in reply to: kaiknux

Sounds like you need an expression with multiple buried IF statements.

Mark Green

Working on Civil 3D in Canada

Message 3 of 8
troma
in reply to: troma

On second thoughts, an expression can't output text, only a numerical value. The only way to use it is to have the text component text height controlled by an expression, so it goes to zero when you don't want to see it.
So you'd need multiple components and multiple artistically written expressions.

Mark Green

Working on Civil 3D in Canada

Message 4 of 8
kaiknux
in reply to: troma

Is there something like that in C3D? I'd like to know how it works... Is there a tutorial or something?

Message 5 of 8
kaiknux
in reply to: kaiknux

I mean, these expressions... they're any intuitive? Where can I find the base, or the syntax, or tutorial so I can study it and build them? Is there any free stuff to read and learn? 

 

 

Pretty interesting the text height solution, that'll be useful, I guess

Message 6 of 8
AllenJessup
in reply to: kaiknux

THIS is the link to the help and tutorial in 2014.

 

Allen Jessup



Allen Jessup
Engineering Specialist / CAD Manager

Message 7 of 8
AllenJessup
in reply to: AllenJessup

You can also read HERE and THIS post where the solution supposedly resides. I remembered this had been discussed before. So I did a search of the group and found that.

 

gs.png

 

Allen Jessup



Allen Jessup
Engineering Specialist / CAD Manager

Message 8 of 8
kaiknux
in reply to: troma

troma, that a expression with IF to control height of the text was an amazingly well thought solution for my case. And thanks AllenJessup for finding the post where I could find the expressions I needed.

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

Post to forums  

Rail Community


Autodesk Design & Make Report