AutoCAD Civil 3D General Discussion

AutoCAD Civil 3D General Discussion

Reply
Distinguished Contributor
165 Posts
2 Kudos
Registered: ‎04-19-2005
Post 1 of 15

Alignment lable style to show deflection angle?

1729 Views, 14 Replies
10-10-2008 04:20 PM
I had someone request an Alignment, Geometry Point, Label Style that shows
the "deflection angle" as either right or left at the PI point of an alignment. I imagine this would have to be done with an expression but I'm curious if it is even possible. I looked briefly but nothing jumped out at me.. Sorry being lazy this time.
*Expert Elite*
714 Posts
41 Kudos
Registered: ‎09-04-2008
Post 2 of 15

Re: Alignment lable style to show deflection angle?

10-12-2008 09:13 AM in reply to: kdepfyffer
You can do it through General-Add Label using
Feature- Alignment
Label Type- Tangent Information

And then you can go in and edit the style and set it to either the Delta or Deflection angle.
It won't be part of the original label set, but it will be dynamic with changes to the alignment. Let me know if you need help changing the text contents to show this.

Bruce
Bruce Klug
AutoCAD Expert Elite
AutoCAD Civil 3D 2014 Certified Professional
Infrastructure Design Suite 2014 (SP2)
Testing Civil 3D 2015
Win 7 Pro, 64-bit

Re: Alignment lable style to show deflection angle?

10-12-2008 02:11 PM in reply to: kdepfyffer

How do you get the left or right?

 

Bill

 


style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
You
can do it through General-Add Label using
Feature- Alignment
Label
Type- Tangent Information

And then you can go in and edit the style and
set it to either the Delta or Deflection angle.
It won't be part of the
original label set, but it will be dynamic with changes to the alignment. Let
me know if you need help changing the text contents to show
this.

Bruce
*Expert Elite*
714 Posts
41 Kudos
Registered: ‎09-04-2008
Post 4 of 15

Re: Alignment lable style to show deflection angle?

10-13-2008 02:20 PM in reply to: kdepfyffer
To coin a phrase from the NFL "after further review, the call on the field was incorrect", or only partially correct.

You can label automatically the delta or the PI included angle. I don't see a way to label the deflection right or left automatically.
Bruce Klug
AutoCAD Expert Elite
AutoCAD Civil 3D 2014 Certified Professional
Infrastructure Design Suite 2014 (SP2)
Testing Civil 3D 2015
Win 7 Pro, 64-bit
Contributor
25 Posts
0 Kudos
Registered: ‎05-30-2007
Post 5 of 15

Re: Alignment lable style to show deflection angle?

10-29-2008 12:12 PM in reply to: kdepfyffer
Did you guys ever find a way to label the Left or Right for the PI? I also need this functionality.
Thanks,
*Expert Elite*
2,599 Posts
51 Kudos
Registered: ‎10-13-2005
Post 6 of 15

Re: Alignment lable style to show deflection angle?

10-29-2008 12:23 PM in reply to: kdepfyffer
Can you post a picture? I thought about looking at it earlier, but didn't quite get what was being asked.

Christopher
http://blog.civil3dreminders.com/< br /> http://style.civil3dreminders.com/
Civil Reminders
http://blog.civil3dreminders.com/
http://www.CivilReminders.com/
Contributor
25 Posts
0 Kudos
Registered: ‎05-30-2007
Post 7 of 15

Re: Alignment lable style to show deflection angle?

10-29-2008 12:53 PM in reply to: kdepfyffer
I'm looking to create a label that will look similar to what is in the circle. The tricky part may be getting the right and left as the guys above stated. Any suggestions will be appreciated. I'm appariantly unable to attach ANY files. So, in brief, the PI deflection angle or delta angle is the angle from the prolongation of the back tangent to the ahead tangent of the intersection of any two tangent sections. Also, the direction of the angle will be labeled Rt or Lt depending on the angle.
*Expert Elite*
2,599 Posts
51 Kudos
Registered: ‎10-13-2005
Post 8 of 15

Re: Alignment lable style to show deflection angle?

10-29-2008 01:17 PM in reply to: kdepfyffer

To determine if it is right or left I think you will need to use an expression. Take the Start Direction and figure the range of values that would be to the left and to the right start direction. The base values are in radians, and straight up is 0, add and subtract pi from the start direction and adjust for range of values going past 0. That's all I got so far, I'll try to think about it some more this evening.


Christopher
http://blog.civil3dreminders.com/< br /> http://style.civil3dreminders.com/

Civil Reminders
http://blog.civil3dreminders.com/
http://www.CivilReminders.com/
*Expert Elite*
2,599 Posts
51 Kudos
Registered: ‎10-13-2005
Post 9 of 15

Re: Alignment lable style to show deflection angle?

10-29-2008 09:08 PM in reply to: kdepfyffer
Here is one way to check if the alignment goes left or right at a PI, I think this is what you are after. There's some expressions that are not needed in the file.

http://style.civil3dr eminders.com/checkrightorleft

Christopher
http://blog.civil3dreminders.com/< br /> http://styl e.civil3dreminders.com/intermittentblockoftheday/
Civil Reminders
http://blog.civil3dreminders.com/
http://www.CivilReminders.com/
Valued Contributor
98 Posts
1 Kudo
Registered: ‎02-05-2008
Post 10 of 15

Re: Alignment lable style to show deflection angle?

12-05-2008 09:59 AM in reply to: kdepfyffer
I know it's been a long time since this was posted, but does anyone have any idea why this expression doesn't work in the dragged state? I'm using C3D 2009 and I loaded this expression. It works great until I drag the label off the curve then I get Right and Left displayed at the same time..
Any ideas or has this problem been solved in some other way I don't know about? Edited by: ryanquigley2390 on Dec 5, 2008 8:59 AM
C3D 2012 SP1
Win 7 64 Enterprise
Intel Xeon 3.07 Ghz 8GB Ram
NVIDIA Quadro 4000
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post