DIMLAYER question

DIMLAYER question

Anonymous
Not applicable
430 Views
2 Replies
Message 1 of 3

DIMLAYER question

Anonymous
Not applicable

I always set my dimensions to a layer named DIM.

 

How do I make it so that the layer I pick for DIMLAYER is always the same for every drawing I open. Or do I have to set it for every drawing?  I can change my templates easily enough but when I open old drawings DIMLAYER will not be set to DIM.

 

0 Likes
431 Views
2 Replies
Replies (2)
Message 2 of 3

pendean
Community Legend
Community Legend
You will need to create a startup lisp in your ACADDOC.LSP file (make one if you don't have one) or APPLOAD command that sets this new variable in 2016.
Here is a quick overview of the concept in general, post back if you get stuck http://www.lee-mac.com/autoloading.html
How to write a startup Lisp http://knowledge.autodesk.com/support/autocad/troubleshooting/caas/sfdcarticles/sfdcarticles/Automat...
Message 3 of 3

Anonymous
Not applicable

I added this line to my acaddoc.lsp file and it works just as you are describing:

 

(setvar "DIMLAYER" "DIM")