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: 

Automating Text Selection and Color Change in Civil 3D: Seeking Guidance for Beginners

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
erlanlirajr
187 Views, 2 Replies

Automating Text Selection and Color Change in Civil 3D: Seeking Guidance for Beginners

Hello. I'm trying to automate a task in Civil 3D, but I'm a beginner. The idea is to create a script that selects all "text" or "mtext" with a specific height and changes the color of these found elements. Note: this would be in the layout, and there are projects that reference the model with different scales. Could someone help me with how this automation could be done? Thank you!

2 REPLIES 2
Message 2 of 3
rgrainer
in reply to: erlanlirajr
Message 3 of 3
Joe-Bouza
in reply to: erlanlirajr

Go in a layout of one of you files.

start the action recorder give the macro a sensible name. QSELECT  filter text by height>> change property. QSELECT,mtext by height >>change property>>>QSAVE.

stop recording . Test it and adjust if needed.

 

find your acaddoc.lsp file in windows explorer and open in note pad.

add this to the file:

(COMMAND “macro name”)

save a close.

 

back to acad. using Sheet set manager or PUBLISH the layouts you need to change 

 

When done go back to acaddoc.lsp and add REM in front of the Caio and we previously added

Joe Bouza
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

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

Post to forums  

Rail Community


 

Autodesk Design & Make Report