Results 1 to 2 of 2

Thread: Activate a LISP routine from Excel

  1. #1
    100 Club
    Join Date
    Login to Give a bone

    Default Activate a LISP routine from Excel

    Does anyone know how to activate/run a lisp routine out of a macro? I have a Lisp routine that fills in the attributes of a block based on an excel file. I have create a VBA program that inserts a block based on the input defined in a user form. Once I hit OK the block is inserted into the drawing. Then I run the lisp routine selecting the block that was just inserted to fill in the attributes. I would like my LISP routine to run once I hit OK the userform.

  2. #2
    Administrator Ed Jobe's Avatar
    Join Date
    Turlock, CA
    Login to Give a bone

    Default Re: Activate a LISP routine from Excel

    You can use SendCommand. It runs asyncronously from vba, but it sounds like it will work in your case. Also, search this forum for "vlax.cls" for a more direct way of executing lisp. Also, you can do what you want directly from vba and abandon your lisp.
    C:> ED WORKING....

Similar Threads

  1. Activate block grip with lisp
    By LSElite in forum AutoLISP
    Replies: 6
    Last Post: 2015-02-25, 02:23 PM
  2. Help with a lisp routine to add a 12" line to this routine
    By Orbytal.edge341183 in forum AutoLISP
    Replies: 3
    Last Post: 2012-11-14, 10:33 PM
  3. Combine three lisp routine into one routine.
    By BrianTFC in forum AutoLISP
    Replies: 1
    Last Post: 2012-02-08, 12:14 PM
  4. Replies: 9
    Last Post: 2012-01-21, 07:58 AM
  5. how to activate AutoCAD after opening Excel?
    By Yancka in forum VBA/COM Interop
    Replies: 7
    Last Post: 2009-11-08, 08:17 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