I have lots of text objects, value of which should increase by let say "100" units. These texts are part of a chainage.
The only solution I come up with is by making a query and altering contents with an offset. So far so good!
But I can not get the expression right.
What is the syntax for adding 100 to ^AcDbText.Text.Contents ?
The other problem is to know if ^AcDbText.Text.Contents is a number or text ?
I think you are querying a custom object such as a C3D label. Try it on genric text objects and see if it works. Map doesn't support C3D objects.
It is a text object, that´s I am sure of!
But what is the syntax for expression "actual value + something i want to add" as the pic shows?
Thanks! It would work!
But I still would like to know the correct syntax for writing an expression!
Let say I got a chainage like this:
10
20
30
40
And I want to change to:
0+010
0+020
0+030
.
.
.
1+000
Think I'd just create new alignments set to a suitable style and then label them as required?
neilyj (No connection with Autodesk other than using the products in the real world)
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.