+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12
  1. #1
    Senior Member yrnomad's Avatar
    Computer Details
    yrnomad's Computer Details
    Operating System:
    XP
    CPU:
    core 2 duo E8400 3.0GHz
    RAM:
    3GB
    Graphics:
    nVidia GeForce 9600 GT w/dual monitor output
    Primary Storage:
    WD 500gb SATA
    Monitor:
    1 Dell 19"LCD, 1 Dell 17"LCD
    Using
    AutoCAD 2010
    Join Date
    Aug 2007
    Location
    Vancouver, WA - USA
    Posts
    101

    Default Lisps in startup suite don't appear to be loading.

    Registered forum members do not see this ad.

    I just finished configuring a new system for a user, that is a Windows 7 - 64bit, with AutoCAD 2012. Most of the rest of us are using Windows XP with AutoCAD 2010.

    We have about 20 Lisp routines that we load via the Startup Suite, and I've loaded each into his Startup Suit, and shut down autocad and restarted.

    When I try to execute one of the routines that should have loaded via the startup suite, I get an unknown command response.

    Any ideas?
    "If you don't have time to do it right, will there be time to do it over?" this was hung on my boss' door 15 years ago for me to see on my first day... no pressure really!?!

  2. #2
    Quantum Mechanic Lee Mac's Avatar
    Computer Details
    Lee Mac's Computer Details
    Operating System:
    Windows 7 Ultimate (32-bit)
    Discipline
    Multi-disciplinary
    Lee Mac's Discipline Details
    Discipline
    Multi-disciplinary
    Details
    Custom Programming / Software Customisation
    Using
    AutoCAD 2013
    Join Date
    Aug 2008
    Location
    London, England
    Posts
    15,816

    Default

    The Startup Suite is known to be temperamental at times, have you tried using the ACADDOC.lsp?
    Lee Mac Programming

    With Mathematics there is the possibility of perfect rigour, so why settle for less?

    Just another Swamper

  3. #3
    Forum Deity BlackBox's Avatar
    Using
    Civil 3D 2011
    Join Date
    Nov 2009
    Posts
    4,045

    Default

    Big 1+ for Acad.lsp & AcadDoc.lsp here.
    "Potential has a shelf life." - Margaret Atwood

  4. #4
    Senior Member troggarf's Avatar
    Computer Details
    troggarf's Computer Details
    Operating System:
    Windows 7
    Computer:
    Toshiba Satellite L675
    Using
    AutoCAD 2012
    Join Date
    Oct 2010
    Location
    Littleton, Co
    Posts
    133

    Default

    AutoCAD 2012 has this sweet feature that lets you dump lisp files, vba routines, dlls and it will load them for you. The folder is located @ C:>Users>(username)>AppData>Roaming>Autodesk>Appli cationPlugins

    Simply place the lisp files in there and enjoy.
    http://autocadtips.wordpress.com/201...-files-others/

    Note: they removed this feature in AutoCAD 2013 and instead of simply placing the files there and you're good to go, you now have to have folder within this folder with an xml file that calls the routine... (thumbs down)

    I also recently learned that if you have a lisp file and want to easily load it, you can simply prefix it with "acad" and place it in your support path and it will load upon startup.
    So a lisp called "lineheal.lsp" can be renamed "acadlineheal.lsp" and copied into the support path and you are good to go.

    ~Greg
    ~Greg B
    Have fun!! www

  5. #5
    Senior Member yrnomad's Avatar
    Computer Details
    yrnomad's Computer Details
    Operating System:
    XP
    CPU:
    core 2 duo E8400 3.0GHz
    RAM:
    3GB
    Graphics:
    nVidia GeForce 9600 GT w/dual monitor output
    Primary Storage:
    WD 500gb SATA
    Monitor:
    1 Dell 19"LCD, 1 Dell 17"LCD
    Using
    AutoCAD 2010
    Join Date
    Aug 2007
    Location
    Vancouver, WA - USA
    Posts
    101

    Default

    d'oh! I realize now that I've been having it load in the acaddoc.lsp and the startup suite. It doesn't appear to have worked from either location for this user. my three 2010 users are loading it fine though. I've wondered if the acad.lsp that is being loaded is not the one I'm intending being loaded, so I need to look at my search path order.

    For a temporary work around, I've taken the section of the acaddoc.lsp that loads the lisps, and made a "Temp.lsp" for this user to load so he can get by.

    I've got one of those "unrealistic" deadline tomorrow morning, so I'll have to put off more troubleshooting until tomorrow afternoon.

    Thanks for your input folks, I'll check back in tomorrow.
    "If you don't have time to do it right, will there be time to do it over?" this was hung on my boss' door 15 years ago for me to see on my first day... no pressure really!?!

  6. #6
    Senior Member yrnomad's Avatar
    Computer Details
    yrnomad's Computer Details
    Operating System:
    XP
    CPU:
    core 2 duo E8400 3.0GHz
    RAM:
    3GB
    Graphics:
    nVidia GeForce 9600 GT w/dual monitor output
    Primary Storage:
    WD 500gb SATA
    Monitor:
    1 Dell 19"LCD, 1 Dell 17"LCD
    Using
    AutoCAD 2010
    Join Date
    Aug 2007
    Location
    Vancouver, WA - USA
    Posts
    101

    Default

    Well, I've stripped the Startup Suite loads out of my AutoCAD 2010 (on Windows XP) and I no longer get any of my typical routines loaded. Here is my support path:
    Support file search path.jpg
    The AcadDoc.lsp is in the C:\ACAD_PE\Support folder, so it is high up in the search path. I've even tried putting a copy of that TempLisp.lsp in the Acad_PE folder named AcadTempLisp.lsp and it's not picking them up. Our Acad2010.lsp & Acad2012.lsp are the ones that come with the install located in the C:\Program Files\AutoCAD 2010\Support folder.

    Any ideas what else to check.
    "If you don't have time to do it right, will there be time to do it over?" this was hung on my boss' door 15 years ago for me to see on my first day... no pressure really!?!

  7. #7
    Senior Member troggarf's Avatar
    Computer Details
    troggarf's Computer Details
    Operating System:
    Windows 7
    Computer:
    Toshiba Satellite L675
    Using
    AutoCAD 2012
    Join Date
    Oct 2010
    Location
    Littleton, Co
    Posts
    133

    Default

    From what I remember, The files that are renamed with the prefix "acad..." may need to be in one of the default support paths. I have not tried this with 2012. I have tried it successfully with 2011, 2012, & 2013.
    This is how I have my personal routines loading.

    Otherwise, the way we have custom routines loading at work is:
    A custom CUI that is loaded as the "enterprise CUI"

    So in one folder we have:
    1. .cui
    2. .mnl The .mnl needs to be the same name as the cui for the cui to load it's content. Also, within the .mnl file, all it is doing is calling each of the lisp routines, ex. (load "cool.lsp" "\ncool.lsp not loaded") the second group of quoted text will only show if the lisp doesn't load. Also this is from memory and I don't know if this is exactly what the .mnl says in order to load the files... I will update this post when I am certain.
    3. .lsp files
    4. .bmp files for the buttons
    ~Greg B
    Have fun!! www

  8. #8
    Super Member irneb's Avatar
    Computer Details
    irneb's Computer Details
    Operating System:
    Win7 Pro 64bit
    Computer:
    Antec One Hundred
    Motherboard:
    ASUS P8P67-Pro P67
    CPU:
    Intel i7 2600 @ 3.4GHz
    RAM:
    16GB-1600MHz
    Graphics:
    GeForce GT 430 (1GB)
    Primary Storage:
    Seagate1TB SATA2 - 7200rpm
    Monitor:
    Samsung 2333TN 23" 1920 x 1080 Full HD LCD Monitor2GW
    Discipline
    Architectural
    irneb's Discipline Details
    Occupation
    Architectural Technician and Programmer
    Discipline
    Architectural
    Using
    AutoCAD 2013
    Join Date
    Sep 2010
    Location
    Jo'burg SA
    Posts
    1,666

    Default

    2 possibilities I can think of: If using acad.lsp, this only loads once per session - the other PC's might have this default setting changed (http://docs.autodesk.com/ACD/2011/EN...0acaf-511f.htm). Though I'd advise rather just adding to acaddoc.lsp instead.

    2nd: Is there perhaps something causing an error in one of the LSPs in 2012 only? This might easily happen if you're calling any commands from these. By default loading a LSP will error out if the LSP doesn't load properly. Thus if there's an error in one, none of the following would be loaded either.
    Knowledge is proportional to experience, but wisdom is inversely proportional to ego!
    My little bit of "wisdom": Hind-sight is useless, unless used to improve the next forethought!

  9. #9
    Quantum Mechanic Lee Mac's Avatar
    Computer Details
    Lee Mac's Computer Details
    Operating System:
    Windows 7 Ultimate (32-bit)
    Discipline
    Multi-disciplinary
    Lee Mac's Discipline Details
    Discipline
    Multi-disciplinary
    Details
    Custom Programming / Software Customisation
    Using
    AutoCAD 2013
    Join Date
    Aug 2008
    Location
    London, England
    Posts
    15,816

    Default

    Ensure that you have only one ACADDOC.lsp file, and that AutoCAD can find it.

    To check, open a new drawing and type at the command line:

    Code:
    (findfile "ACADDOC.lsp")
    If this returns a valid filepath, ensure that the filepath points to the ACADDOC.lsp that you wish to load. If the above returns nil, AutoCAD cannot find the ACADDOC.lsp file.

    Also, how are you loading the programs in the ACADDOC.lsp? Using the load function? autoload function? Or do each of the programs reside in the ACADDOC.lsp?
    Lee Mac Programming

    With Mathematics there is the possibility of perfect rigour, so why settle for less?

    Just another Swamper

  10. #10
    Senior Member yrnomad's Avatar
    Computer Details
    yrnomad's Computer Details
    Operating System:
    XP
    CPU:
    core 2 duo E8400 3.0GHz
    RAM:
    3GB
    Graphics:
    nVidia GeForce 9600 GT w/dual monitor output
    Primary Storage:
    WD 500gb SATA
    Monitor:
    1 Dell 19"LCD, 1 Dell 17"LCD
    Using
    AutoCAD 2010
    Join Date
    Aug 2007
    Location
    Vancouver, WA - USA
    Posts
    101

    Default

    Registered forum members do not see this ad.

    Ah, got it figured out. one of the setvar was crashing the rest of the loads... Thanks everyone for your help!
    Lee Mac - What is the difference between doing a load, and an autoload function?
    "If you don't have time to do it right, will there be time to do it over?" this was hung on my boss' door 15 years ago for me to see on my first day... no pressure really!?!

Similar Threads

  1. Is there a way to remove all .lsp from the startup suite via lisp?
    By Lt Dan's legs in forum AutoLISP, Visual LISP & DCL
    Replies: 33
    Last Post: 9th Aug 2011, 07:38 pm
  2. Startup Suite ACAD 2010
    By memphis710 in forum CAD Management
    Replies: 16
    Last Post: 9th Jun 2011, 02:55 pm
  3. What file is associated with the Startup Suite
    By nestly in forum CAD Management
    Replies: 2
    Last Post: 12th Feb 2011, 08:49 pm
  4. Appload - Startup suite Problems.
    By jtk07 in forum AutoLISP, Visual LISP & DCL
    Replies: 30
    Last Post: 19th Jan 2011, 08:07 am
  5. Error with Startup Suite for LISP
    By Sam Pawar in forum AutoCAD Bugs, Error Messages & Quirks
    Replies: 1
    Last Post: 23rd Jun 2009, 01:39 pm

Bookmarks

Posting Permissions

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