This one is even better, a true toggle. The only thing is that you have to make sure the var "layon-off" (or whatever you're using) is created/existing with a value of 1 (specifies that said layers are on) before running it.
(if ("mysolution"=answer) then (click "Accept As Solution"))
There are many on-off needs for AutoCAD users, these tips can be modified with a little imagination to do so much in LT.
I'm sure we all have our favorites, think about it during a typical day of CAD and the flood gates will open.
Remember though, SETENV accesses the Windows Registry to add these user "environment variables": some registry cleaners like to remove them. AFAIK limited Windows user accounts are not affected in creating them, but I've never tested it.
Are there any experts who would be able to create a macro tool that would change all layers in a drawing to one color?
Here is something I have started but I am new at this so maybe it would be less steps or some keywords I am not realizing...
if anyone knows that this would be possible or could tell me if Im wasting my time I would appreciate it!
Thanks for the cadvice!
Welcome to the Autodesk Forums!
You can open the Layer Command (LA), Shift select All the Layers as you would any group of files, Click on the Color for one of the layers and change to whatever Color to change all.
Can you do this by typing the various Commands at the Command line?
Something like LA, All, Color,...
If so this is what you need to create the Macro
quick question at the end of the day. I have spent a half hour reading up on handles and understand each block or attributes have to to be automatically numbered by autocad.
is using the same block with the same handles(will not work if the block has different handles) in multiple drawings just fundamentally easier to modify through excel or notepad? Is this a great way to save fonts and text sizing within a block?
seems that it would be a better tool if the command could take the attributes and applythem to blocks of different shapes and sizes.
I just wanna see the broader picture.
Thanks for the support in earlier posts!
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register
Start with some of our most frequented solutions to get help installing your software.
|AutoCAD LT General|