Power Command Line

I discovered today that some code can be typed straight into the command line in AutoCAD. I had not realised this, I thought all code had to be loaded as a routine.

The following changes the PSLTSCALE for all layouts!

 

(foreach lay (layoutlist)(command "_LAYOUT" "_Set" lay "PSLTSCALE" 0))

 

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.