Results 1 to 6 of 6

Thread: (vl-load-com)

  1. #1
    All AUGI, all the time gfreddog's Avatar
    Join Date
    2003-07
    Location
    Pequannock NJ US of A
    Posts
    641
    Login to Give a bone
    0

    Default (vl-load-com)

    Newbie question....

    When updating my 2004 Lisps to work in AutoCAD 2008 I've been told to add (vl-load-com) to the begining of each Lisp.

    Now I have one file with all of our Lisps in it (example: 123.lsp) do I have to put (vl-load-com) in front of every command in this file or just at the begining of the file?

    Thanks and Happy New Year!

  2. #2
    Login to Give a bone
    0

    Default Re: (vl-load-com)

    (vl-load-com) is only loaded once. So you could put it on a line by itself. However, if your are uploading or sharing one of your functions it might be a good idea to include it in your function. Either way it doesn't hurt to include it in your functions, as it is only loaded once.

  3. #3
    100 Club
    Join Date
    2003-11
    Location
    Dublin, Ireland.
    Posts
    152
    Login to Give a bone
    0

    Default Re: (vl-load-com)

    Quote Originally Posted by gfreddog View Post
    When updating my 2004 Lisps to work in AutoCAD 2008 I've been told to add (vl-load-com) to the begining of each Lisp.
    Only if you are using Visual Lisp routines

    Now I have one file with all of our Lisps in it (example: 123.lsp) do I have to put (vl-load-com) in front of every command in this file or just at the begining of the file?
    Just once at the begining will do.As long as they are loaded each time a drawing is opened.

  4. #4
    All AUGI, all the time gfreddog's Avatar
    Join Date
    2003-07
    Location
    Pequannock NJ US of A
    Posts
    641
    Login to Give a bone
    0

    Default Re: (vl-load-com)

    Ah okay.

    Thanks for all the help.

  5. #5
    I could stop if I wanted to
    Join Date
    2006-04
    Posts
    466
    Login to Give a bone
    0

    Default Re: (vl-load-com)

    you can load it once in the acad.lsp file automaticly when autocad opens.

  6. #6
    Administrator rkmcswain's Avatar
    Join Date
    2004-09
    Location
    Earth
    Posts
    9,803
    Login to Give a bone
    0

    Default Re: (vl-load-com)

    Quote Originally Posted by aaronic_abacus View Post
    you can load it once in the acad.lsp file automaticly when autocad opens.
    That is what I would suggest also. That way it's loaded each time AutoCAD starts and you never have to worry about including it in other lisp files.
    R.K. McSwain | CAD Panacea |

Similar Threads

  1. Replies: 4
    Last Post: 2014-06-24, 05:51 PM
  2. Family Load dialogue should retain the path of the last location a load occured.
    By Wish List System in forum Revit Architecture - Wish List
    Replies: 0
    Last Post: 2013-04-23, 04:03 PM
  3. Spectral Analysis / Different Load Cases Participating to "Load Mass Conversion"
    By ichandrinos106880 in forum Robot Structural Analysis
    Replies: 1
    Last Post: 2012-08-02, 01:56 PM
  4. How to load an app ?
    By nigeld in forum Revit - API
    Replies: 1
    Last Post: 2010-08-24, 02:52 AM
  5. LISP load order in relationship to CUI load order
    By Steve_Bennett in forum AutoCAD CUI Menus
    Replies: 8
    Last Post: 2007-01-19, 06:43 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
  •