You assume right.Originally Posted by jaberwok
How can I redefine a command using the pgp file? I have tried removing the command completely but it still works fine!Originally Posted by jaberwok
Thanks for your help.
|
You assume right.Originally Posted by jaberwok
How can I redefine a command using the pgp file? I have tried removing the command completely but it still works fine!Originally Posted by jaberwok
Thanks for your help.
HiOriginally Posted by Inferno6919
Below example is extracted from the shipped version of the Acad.pgp file that comes with AutoCAD 2007. I would guess AcadLT.pgp contains a similar section...
Have a good one, MikeCode:; Aliases for commands discontinued in AutoCAD 2007: RMAT, *MATERIALS FOG, *RENDERENVIRONMENT FINISH, *MATERIALS SETUV, *MATERIALMAP SHOWMAT, *LIST RFILEOPT, *RENDERPRESETS RENDSCR, *RENDERWIN
Thanks Mike.Originally Posted by Mike.Perry
So how does it work? Is it something like, if I add under this category ("Aliases for commands discontinued in AutoCAD 2007") the commands I want to undefine, then these commands wouldn't be accessible? Or do I need to remove them from the pgp file altogether?
Thanks and apologies for my ignorance on this matter.
HiOriginally Posted by Inferno6919
It is my understanding you would like to undefine and redefine commands in AutoCAD LT.
Therefore taking Richard's idea...
Have a good one, MikeCode:; Aliases for commands discontinued in AutoCAD 2007: CommandNameToUndefine, *CommandNameToRedfine
Excellent. Thanks for that Mike. I will try it and hopefully it will do what I want it to do.Originally Posted by Mike.Perry
Thank you all for your replies and your help.
I will post the results whether it works or not.
unfortunately, it didn't work! The commands I tried to undefine through the pgp file, still work just fine.Originally Posted by Inferno6919
Any other ideas or suggestions?
thanks
What commands did you try to redefine? How did you try to redefine the commands?Originally Posted by Inferno6919
Knowing what you used may help others help you find the solution.
If you have a technical question, please find the appropriate forum and ask it there.
You will get a quicker response from your fellow AUGI members than if you sent it to me via a PM or email.
jUSt
A variety of commands really. For example, the "style" command or "CUI" or "toolbar", "dimstyle", etc.Originally Posted by Opie
I tried to undefine the commands by a. erasing them from the pgp file and it didn't work b. adding them to the discontinued list of the pgp file and it didn't work either c. I disabled some of them in the cui menu of autocad (typed "cui" and went to the specific commands and added ~ ahead of the command) but this is something users can easily undo since they will be able to access the cui menu.
Any ideas anyone?
Thanks for your help.
Apparently, the PGP file cannot be used to redefine core commands. I can't think of anything else that would work on LT.
If you have a technical question, please find the appropriate forum and ask it there.
You will get a quicker response from your fellow AUGI members than if you sent it to me via a PM or email.
jUSt
No. The pgp file only creates aliases (or runs external commands).Originally Posted by Opie
Since "undefine" isn't recognised by LT I imagine only the use of LTExtender or similar may make a difference.