Accessing AutoLisp Functions by Visual Basic program

Discussion in 'AutoCAD' started by Yuri, Jun 23, 2004.

  1. Yuri

    Yuri Guest

    I have a program in Visual Basic with AutoCadR14 and I need to access some
    AutoLisp functions. I have to access these functions, passing it some
    parameters.
    I know that in VB with AutoCad2000, there are methods that I can simulate
    the AutoCad command line, consequently, it'll be able to access AutoLisp.
    Does anybody know how is it possible in AutoCadR14?

    Thanks
    Yuri
     
    Yuri, Jun 23, 2004
    #1
  2. Yuri

    Rudy Tovar Guest

    Can't truely remember, but I think not.
     
    Rudy Tovar, Jun 23, 2004
    #2
  3. You need to use a Windows Message and send the string to the command line
    like WM_COPYDATA I think or you can use SendKeys as well. I will look back
    in my code archive and see if I can find the SendCommand code that I used
    back in R14.

    Thanks,
    Lee Ambrosius
    HyperPics, http://www.hyperpics.com
    Blog: Beyond the UI, http://hyperpics.blogs.com/beyond_the_ui
     
    Lee Ambrosius, Jun 23, 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.