Loading LISP (VLX) from the web

Discussion in 'AutoCAD' started by Bruce Sheldon, Apr 9, 2004.

  1. Does anyone have any info on how to perform a load to a compiled VLX file
    that exists on a website? Does it need to be downloaded locally, or can
    AutoCAD load it up direct?

    Bruce
     
    Bruce Sheldon, Apr 9, 2004
    #1
  2. Bruce Sheldon

    Rudy Tovar Guest

    \\\\path\\file
     
    Rudy Tovar, Apr 9, 2004
    #2
  3. Bruce Sheldon

    John Uhden Guest

    Yes, I believe it has to be downloaded, but this might give you some ideas how
    to automate that...

    (and
    (vl-load-com)
    (setq *acad* (vlax-get-acad-object))
    (setq *doc* (vla-get-activedocument *acad*))
    (setq *util* (vla-get-utility *doc*))
    (not (vla-getremotefile *util* "http://www.cadlantic.com/freebies/digital.lsp"
    'file actrue))
    (= (type file) 'STR)
    (or (load file) 1)
    digicount
    (digicount)
    )
     
    John Uhden, Apr 10, 2004
    #3
  4. Thanks, John. I'll give this a try.

     
    Bruce Sheldon, Apr 30, 2004
    #4
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.