See the top rated post in this thread. Click here

Results 1 to 2 of 2

Thread: Script bogging down

  1. #1
    Login to Give a bone
    0

    Default Script bogging down

    I have created a script that inserts a drawing file into a drawing and then
    starts appload, loads a lisp routine, and then starts the lisp routine. The drawing
    file is just to import a text and dimension style.

    However, it is stopping after the appload command. The appload window pops
    up and I can pick the lisp I want loaded but it doesn't get loaded and I have to
    load the lisp manually.

    Ironically, the script keeps on going despite the lisp not getting loaded and a
    message pops up saying unknown command "T2.lsp"

    Here is the script:

    Insert
    C:\bed
    0,0



    appload
    t2.lsp

    t2

    Any Ideas?
    Thanks

  2. #2
    Certifiable AUGI Addict tedg's Avatar
    Join Date
    2005-06
    Location
    in the upper right corner
    Posts
    3,505
    Login to Give a bone
    1

    Default Re: Script bogging down

    Quote Originally Posted by rickowilmath768597 View Post
    I have created a script that inserts a drawing file into a drawing and then
    starts appload, loads a lisp routine, and then starts the lisp routine. The drawing
    file is just to import a text and dimension style.

    However, it is stopping after the appload command. The appload window pops
    up and I can pick the lisp I want loaded but it doesn't get loaded and I have to
    load the lisp manually.

    Ironically, the script keeps on going despite the lisp not getting loaded and a
    message pops up saying unknown command "T2.lsp"

    Here is the script:

    Insert
    C:\bed
    0,0



    appload
    t2.lsp

    t2

    Any Ideas?
    Thanks
    Well I don't think you can/should use the appload command, you should be using (load: <lisp>)
    Consider this (not tested)
    Code:
    insert
    c:\bed
    0,0
    
    
    
    (load "t2.lsp")
    t2

Similar Threads

  1. 2012: Script Help
    By Noto81 in forum AutoCAD General
    Replies: 6
    Last Post: 2013-05-30, 01:36 PM
  2. script help
    By mark.momper in forum AutoLISP
    Replies: 9
    Last Post: 2008-02-22, 07:48 PM
  3. AutoCAD 2008 Bogging Down
    By adampatten in forum AutoCAD General
    Replies: 20
    Last Post: 2007-10-02, 02:24 AM

Posting Permissions

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