AutoCAD 2004/2005/2006

AutoCAD 2004/2005/2006

Reply
Contributor
18 Posts
0 Kudos
Registered: ‎02-26-2011
Post 1 of 5

How To Customize Shortcut Commands

156 Views, 4 Replies
05-24-2011 12:22 PM

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?

 

Thanks!

*Expert Elite*
24,217 Posts
1,593 Kudos
Registered: ‎11-06-2003
Post 2 of 5

Re: How To Customize Shortcut Commands

05-24-2011 02:22 PM in reply to: amycw

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?

Dean Saadallah Blog | Facebook | Google+ | Twitter | PINS
Contributor
18 Posts
0 Kudos
Registered: ‎02-26-2011
Post 3 of 5

Re: How To Customize Shortcut Commands

05-24-2011 02:29 PM in reply to: pendean

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.

 

Now what?

*Expert Elite*
24,217 Posts
1,593 Kudos
Registered: ‎11-06-2003
Post 4 of 5

Re: How To Customize Shortcut Commands

05-24-2011 02:37 PM in reply to: amycw

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.

Dean Saadallah Blog | Facebook | Google+ | Twitter | PINS
Contributor
18 Posts
0 Kudos
Registered: ‎02-26-2011
Post 5 of 5

Re: How To Customize Shortcut Commands

05-24-2011 02:41 PM in reply to: pendean

I must have been accessing the wrong pgp file.

Weird. Didn't know you meant for me to put lisp code into the command prompt.

It worked now.

Thanks!

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post