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: 

Query Alter Properties

5 REPLIES 5
Reply
Message 1 of 6
teflon
359 Views, 5 Replies

Query Alter Properties

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 ?

 

 

 

 

5 REPLIES 5
Message 2 of 6
Neilw_05
in reply to: teflon

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.

Neil Wilson (a.k.a. neilw)
AEC Collection/C3D 2024, LDT 2004, Power Civil v8i SS1
WIN 10 64 PRO

http://www.sec-landmgt.com
Message 3 of 6
teflon
in reply to: teflon

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? 

Message 4 of 6
Neilw_05
in reply to: teflon

Rather than use a map query, why not use the express tool for renumbering text?
Neil Wilson (a.k.a. neilw)
AEC Collection/C3D 2024, LDT 2004, Power Civil v8i SS1
WIN 10 64 PRO

http://www.sec-landmgt.com
Message 5 of 6
teflon
in reply to: Neilw_05

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

Message 6 of 6
neilyj666
in reply to: teflon

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.

EESignature


AEC Collection 2024 UKIE (mainly Civil 3D UKIE and IW)
Win 11 Pro x64, 1Tb Primary SSD, 1Tb Secondary SSD
64Gb RAM Intel(R) Xeon(R) W-11855M CPU @ 3.2GHz
NVIDIA RTX A5000 16Gb, Dual 27" Monitor, Dell Inspiron 7760

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

Post to forums  

Rail Community


 

Autodesk Design & Make Report