command line text in VBA

Discussion in 'AutoCAD' started by Doug Cochran, Jan 22, 2004.

  1. Doug Cochran

    Doug Cochran Guest

    Instead of using VB: MsgBox "blah blah" in AutoCAD VBA, how do I send text
    to the autocad command line? i.e. like lisp (princ "blah blah")(princ))

    thanks in advance.
     
    Doug Cochran, Jan 22, 2004
    #1
  2. Laurie Comerford, Jan 22, 2004
    #2
  3. Doug Cochran

    Doug Cochran Guest

    For others that may need to know this, per the ADN web site:

    Sub Example_Prompt() ' This example will use the Utility object to post a
    prompt to the ' AutoCAD command line. To see the results after running
    the example, ' switch to AutoCAD and look at the command line.
    ThisDrawing.Utility.prompt "Press any key..."End Sub
     
    Doug Cochran, Jan 22, 2004
    #3
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.