I'am trying to creat a style expression with the final aswer be text.
my expressions is for an alignment If( offset >0, "N", "S")
I want if the offset is right I want the letter "N" and if left use the lette "s".
I can see how to add a text string. Please help
Thanks
This feature currently does not exist in C3D, although I think people have been wishing for it for quite a while now. As it exists right now, Expressions are limited to numeric values.
...Although there is a "hack" you can use in some cases...
For many text components, you can also use an Expression to set the text height. So you can create an expression that returns a very small value for text height for components you don't want to see. So for example, you can have two text components, one that displays "N" and one that displays "S". Then, configure a suitable expression for the text height of each component, so the desired one prints at normal height, and the other prints at something like Height = 0.0001.
This trick can't be used in all cases, and it only works if you have background masking turned off, but it can come in handy from time to time.
Christopher (C3DReminders) has some examples of styles like this.
Here's a link to one of the examples of expressions Sinc is refering to: http://style.civil3dreminders.com/bearinglabelnorth,east,southorwest
Man I really need to spruce up that site, it looks really ugly.