Results 1 to 6 of 6

Thread: AutoLOAD? From where?

  1. #1
    Active Member
    Join Date
    2005-01
    Posts
    78
    Login to Give a bone
    0

    Default AutoLOAD? From where?

    How can I find out where CAD is loading my AutoCAD2005doc.lsp file from? I am trying to set some LSPs to AUTOLOAD but I cant seem to find the right file to alter. I am using a Demo version of Acad2005 while waiting for my retail to show up. Is it possible that the demo version wont AUTOLOAD custom LSPs?

  2. #2
    100 Club Kris.Keller's Avatar
    Join Date
    2000-12
    Location
    Rigby, Idaho
    Posts
    106
    Login to Give a bone
    0

    Default Re: AutoLOAD? From where?

    Quote Originally Posted by methost
    How can I find out where CAD is loading my AutoCAD2005doc.lsp file from? I am trying to set some LSPs to AUTOLOAD but I cant seem to find the right file to alter. I am using a Demo version of Acad2005 while waiting for my retail to show up. Is it possible that the demo version wont AUTOLOAD custom LSPs?

    From the command line type the following: (findfile "AutoCAD2005doc.lsp") after hitting enter you will see the path of where it finds it first.

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

    Default Re: AutoLOAD? From where?

    Hi

    Personally I would recommend not altering any files that AutoCAD ships with and uses (needs) for proper and smooth running.

    There are always exceptions I realise that, but if at all possible go with using a "Custom" file when ever possible (just my humble opinion) -

    Trim to Layer

    RE: July 2004 - Modifying AutoCAD's Context Menus

    RE: Attribute Editor

    RE: WHOHAS

    Have a good one, Mike

  4. #4
    Active Member
    Join Date
    2005-01
    Posts
    78
    Login to Give a bone
    0

    Default Re: AutoLOAD? From where?

    Quote Originally Posted by kj1
    From the command line type the following: (findfile "AutoCAD2005doc.lsp") after hitting enter you will see the path of where it finds it first.

    Comes back "nil"



    Thanks mike but I have always altered this file to autoload my LSPs and Im not sure of another way to autoload them.

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

    Default Re: AutoLOAD? From where?

    Hi
    Quote Originally Posted by methost
    Comes back "nil"
    I think you are meaning Acad2005Doc.lsp NOT! AutoCAD2005Doc.lsp (as far as I know, such a file doesn't exist).

    Still I really wouldn't alter it.


    Quote Originally Posted by methost
    Thanks mike but I have always altered this file to autoload my LSPs and Im not sure of another way to autoload them.
    It really is not different, just place the code you were going to place in the "Shipped" AutoCAD file into the "Custom" AutoCAD file (refer to the links I posted in my original message for further details on such an approach).

    Have a good one, Mike

  6. #6
    The Silent Type RobertB's Avatar
    Join Date
    2000-01
    Location
    Seattle WA USA
    Posts
    5,859
    Login to Give a bone
    0

    Default Re: AutoLOAD? From where?

    Quote Originally Posted by methost
    How can I find out where CAD is loading my AutoCAD2005doc.lsp file from? I am trying to set some LSPs to AUTOLOAD but I cant seem to find the right file to alter. I am using a Demo version of Acad2005 while waiting for my retail to show up. Is it possible that the demo version wont AUTOLOAD custom LSPs?
    As Mike pointed out, the correct filename is Acad2005Doc.lsp. However, you should not edit this file! The appropriate file would be AcadDoc.lsp, which is intended for end-user modification. Note that you may need to create the file if it doesn't exist. The default location for the file is:
    C:\Documents and Settings\<UserName>\Application Data\Autodesk\AutoCAD 2005\R16.1\enu\Support
    where <UserName> is your logon name. Note that the Application Data folder is hidden, but you can type it in at the address bar once you get to C:\Documents and Settings\<UserName>.

Similar Threads

  1. Autoload diractory with many LSP files
    By marko_ribar in forum AutoLISP
    Replies: 9
    Last Post: 2010-11-15, 01:28 PM
  2. AutoLoad?
    By m.mason in forum AutoLISP
    Replies: 7
    Last Post: 2009-11-02, 11:12 AM
  3. Autoload in VBA Manager
    By scott.ferguson.99233 in forum VBA/COM Interop
    Replies: 3
    Last Post: 2005-11-11, 06:33 AM
  4. AutoLoad/Run AutoLISP
    By ironwood1957 in forum AutoLISP
    Replies: 5
    Last Post: 2005-03-11, 06:22 PM
  5. autoload menu
    By inner69923 in forum VBA/COM Interop
    Replies: 5
    Last Post: 2004-07-16, 01:14 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
  •