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!
Solved! Go to Solution.
Solved by Joe-Bouza. Go to Solution.
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.
Can't find what you're looking for? Ask the community or share your knowledge.