AutoLISP From VBA?

Discussion in 'AutoCAD' started by cascadtx, Jun 3, 2004.

  1. cascadtx

    cascadtx Guest

    I can execute an AutoLISP statement from VBA by using SendCommand. Is there any way to suppress the text of the statement from appearing in the text window? CMDECHO and/or NOMUTT don't work. Maybe there is another way to execute AutoLISP from VB/VBA?
     
    cascadtx, Jun 3, 2004
    #1
  2. Hi,

    You could try adding something like this to the lisp code:

    (defun CADAppsCleanCommandLine (spFunctionString)
    (setq n (strlen spFunctionString))
    (repeat n (princ (chr 8))) (repeat n (princ (chr 32)))
    (princ)
    )


    --


    Laurie Comerford
    CADApps
    www.cadapps.com.au

    there any way to suppress the text of the statement from appearing in the
    text window? CMDECHO and/or NOMUTT don't work. Maybe there is another way
    to execute AutoLISP from VB/VBA?
     
    Laurie Comerford, Jun 3, 2004
    #2
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.