DIMLAYER question

DIMLAYER question

Anonymous
不适用
456 次查看
2 条回复
1 条消息(共 3 条)

DIMLAYER question

Anonymous
不适用

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 个赞
457 次查看
2 条回复
回复 (2)
2 条消息(共 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...
3 条消息(共 3 条)

Anonymous
不适用

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

 

(setvar "DIMLAYER" "DIM")