Author Topic: Layers on/off/freeze/lock/unlock  (Read 3388 times)

0 Members and 1 Guest are viewing this topic.

TJAM51

  • Guest
Layers on/off/freeze/lock/unlock
« on: October 10, 2007, 12:43:25 PM »
I am seeking a lisp routine that contains all the ususual layer toggles such as layer off, lock, unlock, freeze..etc. I would need the routine to allow me to use two letter commands. This may be an old request but does anyone have this that could work in 2008. Thanks....

mjfarrell

  • Seagull
  • Posts: 14444
  • Every Student their own Lesson
Re: Layers on/off/freeze/lock/unlock
« Reply #1 on: October 10, 2007, 01:26:14 PM »
me thinks you simply want to add command alias for:
layon
layoff
layfrz
laythw

and have a nice day
Be your Best


Michael Farrell
http://primeservicesglobal.com/

Kate M

  • Guest
Re: Layers on/off/freeze/lock/unlock
« Reply #2 on: October 10, 2007, 01:26:51 PM »
Can't you just modify your PGP file? LAYFRZ, LAYOFF, LAYLCK, etc. are all core commands now.

edit: 30 seconds slow! :-)

Guest

  • Guest
Re: Layers on/off/freeze/lock/unlock
« Reply #3 on: October 10, 2007, 01:35:50 PM »
      ^ ^ ^ ^
What they said...

Express -- Tools -- Command Alias Editor

t-bear

  • Guest
Re: Layers on/off/freeze/lock/unlock
« Reply #4 on: October 10, 2007, 04:56:38 PM »
Mike...what's the command alias for "and have a nice day"? LOL
We have been using command alias for ... years! It's not that hard to set them up.  LN, LF, LZ & LW come to mind
me thinks you simply want to add command alias for:
layon
layoff
layfrz
laythw

and have a nice day

kentium3k

  • Newt
  • Posts: 54
  • Adopt a Greyhound! No, not a bus.
Re: Layers on/off/freeze/lock/unlock
« Reply #5 on: October 11, 2007, 11:55:29 AM »
For locking layers, unlocking layers, etc, I use the attached lisp file.  After it is loaded the commands available are:

DOLS - Delete Objects on Layer Selected
LK  - lock a layer with pick
LKA - lock all with pick except layer picked
LNP - Layer "No Plot" for layer picked
LP  - Layer "Plot On" for layer picked
LKX - Lock all Xrefs
UX  - Unlock all Xrefs
UA  - Unlock all layers except Xrefs
LC  - Lock all layers except Current layer
ULK - Unlock layer picked
Prosperity is only an instrument to be used, not a deity to be worshiped. C. Coolidge