See the top rated post in this thread. Click here

Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 36

Thread: Run a command at AutoCAD LT Startup

  1. #21
    100 Club
    Join Date
    2006-05
    Posts
    139
    Login to Give a bone
    0

    Default Re: Run a command at AutoCAD LT Startup

    Quote Originally Posted by jaberwok
    1. "Undefine" is not a recognised command in 2007LT (so not in any LT, I'd assume).
    You assume right.


    Quote Originally Posted by jaberwok
    2. LT does use a pgp file - aclt.pgp.


    EDIT -
    Oops. They've changed it.
    In 2007LT it's "acadlt.pgp"
    How can I redefine a command using the pgp file? I have tried removing the command completely but it still works fine!


    Thanks for your help.

  2. #22
    The Silent Type Mike.Perry's Avatar
    Join Date
    2000-11
    Posts
    13,656
    Login to Give a bone
    0

    Default Re: Run a command at AutoCAD LT Startup

    Quote Originally Posted by Inferno6919
    How can I redefine a command using the pgp file? I have tried removing the command completely but it still works fine!
    Hi

    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...

    Code:
    ; Aliases for commands discontinued in AutoCAD 2007:
    RMAT,      *MATERIALS
    FOG,       *RENDERENVIRONMENT
    FINISH,    *MATERIALS
    SETUV,     *MATERIALMAP
    SHOWMAT,   *LIST
    RFILEOPT,  *RENDERPRESETS
    RENDSCR,   *RENDERWIN
    Have a good one, Mike

  3. #23
    100 Club
    Join Date
    2006-05
    Posts
    139
    Login to Give a bone
    0

    Default Re: Run a command at AutoCAD LT Startup

    Quote Originally Posted by Mike.Perry
    Hi

    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...

    Code:
    ; Aliases for commands discontinued in AutoCAD 2007:
     RMAT,      *MATERIALS
     FOG,       *RENDERENVIRONMENT
     FINISH,    *MATERIALS
     SETUV,     *MATERIALMAP
     SHOWMAT,   *LIST
     RFILEOPT,  *RENDERPRESETS
     RENDSCR,   *RENDERWIN
    Have a good one, Mike
    Thanks Mike.

    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.

  4. #24
    The Silent Type Mike.Perry's Avatar
    Join Date
    2000-11
    Posts
    13,656
    Login to Give a bone
    0

    Default Re: Run a command at AutoCAD LT Startup

    Quote Originally Posted by Inferno6919
    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?
    Hi

    It is my understanding you would like to undefine and redefine commands in AutoCAD LT.

    Therefore taking Richard's idea...

    Code:
    ; Aliases for commands discontinued in AutoCAD 2007:
    CommandNameToUndefine, *CommandNameToRedfine
    Have a good one, Mike

  5. #25
    100 Club
    Join Date
    2006-05
    Posts
    139
    Login to Give a bone
    0

    Default Re: Run a command at AutoCAD LT Startup

    Quote Originally Posted by Mike.Perry
    Hi

    It is my understanding you would like to undefine and redefine commands in AutoCAD LT.

    Therefore taking Richard's idea...

    Code:
    ; Aliases for commands discontinued in AutoCAD 2007:
     CommandNameToUndefine, *CommandNameToRedfine
    Have a good one, Mike
    Excellent. Thanks for that Mike. I will try it and hopefully it will do what I want it to do.

    Thank you all for your replies and your help.

    I will post the results whether it works or not.

  6. #26
    100 Club
    Join Date
    2006-05
    Posts
    139
    Login to Give a bone
    0

    Default Re: Run a command at AutoCAD LT Startup

    Quote Originally Posted by Inferno6919
    Excellent. Thanks for that Mike. I will try it and hopefully it will do what I want it to do.

    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.

    Any other ideas or suggestions?

    thanks

  7. #27
    Administrator Opie's Avatar
    Join Date
    2002-01
    Location
    jUSt Here (a lot)
    Posts
    9,106
    Login to Give a bone
    0

    Default Re: Run a command at AutoCAD LT Startup

    Quote Originally Posted by Inferno6919
    unfortunately, it didn't work! The commands I tried to undefine through the pgp file, still work just fine.

    Any other ideas or suggestions?

    thanks
    What commands did you try to redefine? How did you try to redefine the commands?

    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

  8. #28
    100 Club
    Join Date
    2006-05
    Posts
    139
    Login to Give a bone
    0

    Default Re: Run a command at AutoCAD LT Startup

    Quote Originally Posted by Opie
    What commands did you try to redefine? How did you try to redefine the commands?

    Knowing what you used may help others help you find the solution.
    A variety of commands really. For example, the "style" command or "CUI" or "toolbar", "dimstyle", etc.

    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.

  9. #29
    Administrator Opie's Avatar
    Join Date
    2002-01
    Location
    jUSt Here (a lot)
    Posts
    9,106
    Login to Give a bone
    0

    Default Re: Run a command at AutoCAD LT Startup

    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

  10. #30
    Certified AUGI Addict jaberwok's Avatar
    Join Date
    2000-12
    Location
    0,0,0 The Origin
    Posts
    8,570
    Login to Give a bone
    0

    Default Re: Run a command at AutoCAD LT Startup

    Quote Originally Posted by Opie
    Apparently, the PGP file cannot be used to redefine core commands. I can't think of anything else that would work on LT.
    No. The pgp file only creates aliases (or runs external commands).

    Since "undefine" isn't recognised by LT I imagine only the use of LTExtender or similar may make a difference.

Page 3 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. How can I make a startUp Exe for Startup AutoCAD
    By 740176597380946 in forum ARX
    Replies: 6
    Last Post: 2013-05-24, 05:36 AM
  2. 2012: AutoCAD startup
    By sdeyo in forum AutoCAD General
    Replies: 5
    Last Post: 2011-04-26, 01:19 PM
  3. misspelled command issues upon startup
    By cwjean76 in forum AutoCAD General
    Replies: 5
    Last Post: 2010-09-13, 09:21 PM
  4. command line not loading on startup
    By WesternSoul in forum AutoCAD Customization
    Replies: 3
    Last Post: 2008-12-23, 10:47 PM
  5. Replies: 15
    Last Post: 2007-08-09, 09:30 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •