Sorry! My Acad is set to use a layer named DIMENSION and the command SLD
sets the layer to DIMENSION.
The additional line is:
(DEFUN C:SLD () (COMMAND "LAYER" "SET" "DIMENSION" ""))
Change 'DIMENSION' to the name of your dimension layer, if you have one.
This code is part of Jkeys.lsp, which is a series of aliases for a range
of commands. It requires some layers to be named to match the code.
If you wish, I could email the full lisp file if you can confirm your
email address. Note the comment below about my email address.
Remove NS from address before replying
snipped-for-privacy@NScix.co.uk (B. W. Salt.) wrote:
DIMLINEAR already has an alias assigned to it; DIMLIN. You can lookup,
edit and add aliases by opening the acad.pgp file found in the support
folder or with the express tool Alias Editor. You can't however specify
horizontal or vertical until you've started the command. For that, you
would need to use the B.W. lisp routine.
Polytechforum.com is a website by engineers for engineers. It is not affiliated with any of manufacturers or vendors discussed here.
All logos and trade names are the property of their respective owners.