AutoCAD Civil 3D General

Reply
Distinguished Contributor
Posts: 185
Registered: ‎11-29-2008
Message 1 of 6 (151 Views)
Accepted Solution

style, text insert

151 Views, 5 Replies
04-24-2012 11:29 AM

Can a expresion be use for text anchor point or Attachement?

 

I looking at using the ML or MR based on if the distance is Plus or Minus.

 

Thanks

Alumni
machadt
Posts: 129
Registered: ‎10-25-2011
Message 2 of 6 (129 Views)

Re: style, text insert

04-26-2012 04:44 PM in reply to: rfg018

Hi Robert<

I am not sure what your question is, could you please give more details on what you would like to accomplish?

Thank you,

Tatiana Machado
AEC-ENI Application Engineer
*Expert Elite*
BrianHailey
Posts: 2,716
Registered: ‎04-27-2005
Message 3 of 6 (123 Views)

Re: style, text insert

04-26-2012 09:54 PM in reply to: rfg018

Unfortunately, the only thing an expression will return is a number. You can use that number in the X and Y offset to adjust the label but you can change the attachment point using an expression. I've longed for the time that an expression would return a string or even a boolean but alas, currently it only returns a number.

Distinguished Contributor
Posts: 185
Registered: ‎11-29-2008
Message 4 of 6 (114 Views)

Re: style, text insert

04-27-2012 07:55 AM in reply to: rfg018

I want to have a Label, with two component, I have an expression  to rotate the text (perper to mirror), and I have the text to plan read, the problem is the two componet, are in the wrong place. 

 

With plan read off, the text is in the wrong place.  My options it to have style for each options/angle, but since I'm using reference text, ever time I change the stye, the reference text goes to none.  Plus this take time.

 

I going to look at using the x y offset, but I'm not sure If I can calc the length of the text.

 

Thanks for the idea.

Alumni
machadt
Posts: 129
Registered: ‎10-25-2011
Message 5 of 6 (111 Views)

Re: style, text insert

04-27-2012 08:59 AM in reply to: rfg018

Maybe if you show us an image of what you would like to do, we could give you some ideas.

Tatiana Machado
AEC-ENI Application Engineer
*Expert Elite*
BrianHailey
Posts: 2,716
Registered: ‎04-27-2005
Message 6 of 6 (102 Views)

Re: style, text insert

04-27-2012 03:50 PM in reply to: rfg018

Not exactly sure what you are trying (as Tatiana suggests, perhaps an image would help us). Also, check out the "Flip Anchors with Text" option. Perhaps that will help you get what you want.

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you interested in helping shape the Autodesk Community?
We’re looking at a few different ways to improve the “All Forums” landing page and need your feedback! If interested, please take a few minutes to fill out the following Usability Study. Thank you for your time!

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community


Civil 3D Exchange Apps

Created by the community for the community, Autodesk Exchange Apps for AutoCAD Civil 3D helps you achieve greater speed, accuracy, and automation from concept to manufacturing.

Connect with Civil 3D

Twitter

Facebook

Blogs