Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Lisp to unlock all layers?

3 REPLIES 3
Reply
Message 1 of 4
Anonymous
2198 Views, 3 Replies

Lisp to unlock all layers?

Hi,

I need a lisp routine to unlock all layers, I am running Acad 2Ki on win 2k,
Your help would be much appreciated

Pete
3 REPLIES 3
Message 2 of 4
Anonymous
in reply to: Anonymous

no lisp required.
Just add a button to your menu:
[Unlock]^C^C-layer;unlock;*;;

or from the commmand line:
-layer
u
*

but if you really want a lisp:
(defun c:UL ()
(command "-layer" "unlock" "*" "")
(princ)
)


"Pete Dibbs" wrote in message news:9A8E7BE8368DDED191799E11FEDABA42@in.WebX.maYIadrTaRb...
> Hi,
>
> I need a lisp routine to unlock all layers, I am running Acad 2Ki on win 2k,
> Your help would be much appreciated
>
> Pete
>
>
Message 3 of 4
Anonymous
in reply to: Anonymous

Doug,
Many many thanks, you make it seem all to easy,
Pete

"Doug Barr" wrote in message
news:6A6C56987B1A3ABCF2BA452AFB10DA8A@in.WebX.maYIadrTaRb...
> no lisp required.
> Just add a button to your menu:
> [Unlock]^C^C-layer;unlock;*;;
>
> or from the commmand line:
> -layer
> u
> *
>
> but if you really want a lisp:
> (defun c:UL ()
> (command "-layer" "unlock" "*" "")
> (princ)
> )
>
>
> "Pete Dibbs" wrote in message
news:9A8E7BE8368DDED191799E11FEDABA42@in.WebX.maYIadrTaRb...
> > Hi,
> >
> > I need a lisp routine to unlock all layers, I am running Acad 2Ki on win
2k,
> > Your help would be much appreciated
> >
> > Pete
> >
> >
>
>
Message 4 of 4
noeljar13
in reply to: Anonymous

fINALLY ONE THAT SOLVES MY NEEDS!

 

Also inverted it to lock all layers.

 

THANKS!!!

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost