I am trying to make some custom buttons to change some text to a different layer and then change the text height.
I cannot figure out the command line alias for "Text Height" to enter it into the macro.
I have tried the "scaletext" command but I cannot figure out how to add this command to the "Chprop" command on the macro line. The command seems to stop before performing both actions. What am I missing? Here is the button macro so far ^C^Cchprop;la;GasAban;c;g;;scaletext;c;s;12;;
(Gas Aban is the layer name I am using)
Solved! Go to Solution.
Solved! by pendean. See the answer in context.
Quick test below seems to work fine here:
Are you using plain AutoCAD? If you type the command at the commandline, is there no EXISTING sub-option?
I tried the TEXTSIZE command, it did not work. It sets the default size for NEW text. I am trying to edit or change a whole bunch of existing text. Part two of my original question..... I am trying to make the macro perform two sucessive commands, a CHPROP and a SCALETEXT, but am having problems. I am still missing something.
This should change the selected text to the layer GasAban and then change the text height to 15
the "_laymch" command was interesting, never saw it before. It was ok. but the "_scaletext" followed by the "e" confused me. "_Scaletext" does not appear to have a valid operator of "e". Also when placed after the double enter (; it acted as an "erase" command. Tried every variation I could think of. Thanks though.
Access a broad range of knowledge to help get the most out of your products and services.