Jump to content

Why won't my hotkeys work?


Recommended Posts

Hi all,

I have read multiple forums about the hot keys and I have gone in and modified my pgp files and they are not accepted. I had previously modified my trial version and that worked fine.

When my new software came in at work I did a fresh install since the trial version was buggy. Now I can't seem to get my hotkeys to map.

Can anyone tell me what I am doing wrong?:?

This is how I am entering it;

COPY, *C

Now, should I have a tab then space or just a space(which is what I am doing), or what?

Thanks, I am so used to them it is hard to not use them. 8)

Link to comment
Share on other sites

Hi all,

I have read multiple forums about the hot keys and I have gone in and modified my pgp files and they are not accepted. I had previously modified my trial version and that worked fine.

When my new software came in at work I did a fresh install since the trial version was buggy. Now I can't seem to get my hotkeys to map.

Can anyone tell me what I am doing wrong?:?

This is how I am entering it;

COPY, *C

Now, should I have a tab then space or just a space(which is what I am doing), or what?

Thanks, I am so used to them it is hard to not use them. 8)

 

C, *COPY

 

You only need one space for it to work. When you had the acad.pgp open you should have seen lots of others to go by, each one with the alias, *command format.

Link to comment
Share on other sites

I have tried that but it is being nasty and won't comply. I will attempt again tomorrow. Maybe I need to re-install.

I still welcome any input, ideas, teasing.

Thanks.:)

Link to comment
Share on other sites

You could be editing the wrong acad.pgp. If you go to Tools, Customize, pgp, that will open up to the correct one. After saving and closing the file type Reinit, pick pgp, ok, close. I have regular AutoCAD 2009 but I assume it will be the same in LT.

Link to comment
Share on other sites

  • 3 weeks later...

Have you tried going though the "command alias editor"? if not then you could re-type your shortcuts by the following

 

Go to Express - tools - command alias editor - then edit the commands you wish

 

Or if you are using AutoCAD Lt? if you are then best ignore this post

Link to comment
Share on other sites

I write my hotkeys as a lisp called htk.lsp

 

They are very simple and considered as lame as lisp is much more powerful than the simple tasks that these do. However, I'm not a very good programmer.

 

They are much more powful than pgp hotkeys and there isn't the problem of programming the wrong pgp file.

 

 

(DEFUN C:BR () (COMMAND ".BREAK" PAUSE "F")(princ)) ;;break

(DEFUN C:LV () (COMMAND "_.VPORTS" "L" "ON" "ALL" "")princ)) ;lock viewports

(DEFUN C:uLV () (COMMAND "_.VPORTS" "L" "Off" "ALL" "")(princ))

(DEFUN C:C2 () (COMMAND "CIRCLE" "2P" PAUSE PAUSE)(princ))

(DEFUN C:as () (COMMAND "CIRCLE" "3p" PAUSE PAUSE)(princ))

 

 

(defun c:pj () ; pedit join

(setq pa (getvar "peditaccept"))

(setvar "peditaccept" 1)

(setq ssj (ssget ))

(command "pedit" "m" ssj "" "j" "0.01" "")

(setvar "peditaccept" pa)

(princ)

)

(DEFUN C:Pps () (COMMAND "PEDIT" PAUSE "s" "J" )(princ))

(DEFUN C:llw () (COMMAND "change" "" pause "" "" "p" )(princ))

(DEFUN C:UE () (COMMAND ".UCS" "E")(princ))

 

(DEFUN C:UW () (COMMAND ".UCS" "W")(princ))

(DEFUN C:zz () (COMMAND "li")(princ))

 

(DEFUN C:Hs () (COMMAND ".HATCH" "s")(princ))

(DEFUN C:Hst () (COMMAND ".HATCH" "ansi31" "" "")(princ))

 

(DEFUN C:IB () (COMMAND ".INSERT")(princ))

(DEFUN C:IBX () (COMMAND ".INSERT" PAUSE PAUSE PAUSE PAUSE "")(COMMAND "EXPLODE" "LAST" "")CP(princ))

 

(DEFUN C:VRS() (COMMAND ".VIEWRES" "y" "2000")(princ))

 

;;;;; osnap ;;;;;;;

(defun c:oset ()(setvar "dsettings" )) ;; running osap box

(defun c:oo ()(setvar "osmode" 39)) ;; Osnap int endp mid cen

(defun c:on ()(setvar "osmode" 512)) ;; Osnap Nea

(defun c:od ()(setvar "osmode" 8)) ;; Osnap noDe

(defun c:oq ()(setvar "osmode" 16)) ;; Osnap Quad

(defun c:ot ()(setvar "osmode" 64)) ;; Osnap inserT

 

I also have a button to load this. Under this button is the command

 

(load "htk")

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...