Can't get a shortcut command to work using the acad.pgp file.
I don't know why it isn't working. I am trying to assign Layuniso a short cut.
Can you please give me the steps to creating custom shortcuts?
Are you editing the correct PGP file? ask AutoCAD which one it is by typing the following at the command line exactly as shown:
(startapp "notepad" (findfile "acad.pgp"))
Or did you forget to reload the PGP file after editing by using REINIT command?
Tried to REINIT. Nope didn't work.
To be specific I go into the pgp file, scroll to LA LAYER
Copy that line and paste into the next line
Change the LA to LOL and LAYER to LAYUNISO (for unisolate layer).
Did the REINIT and went through isolating a selection and using the shortcut LOL but it didn't work.
I have gotten it to work in the past but for some reason I don't remember how to do it now.
Did you type the lisp code as shown in the first reply to go to the correct PGP file?
Is there another LOL definition below your entry? PGP files are read from top to bottom, bottom of the list overrides the top of the list when duplicates are encountered.
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register