vla and vlax: no function definition

Discussion in 'AutoCAD' started by Ryan Begley, Aug 24, 2004.

  1. Ryan Begley

    Ryan Begley Guest

    I've recently changed computers and also AutoCADs, from 2002 to 2000.
    A lisp routine I created for making dwfs now no longer works. It cuts out at
    line:
    (vla-get-activedocument (vlax-get-acad-object))
    When I try to use these function in AutoCAD I get "error...no function
    definition".
    Seems like I can't use vla or vlax functions (though vl function are working
    okay).
    What is the problem?

    Ryan
     
    Ryan Begley, Aug 24, 2004
    #1
  2. Ryan Begley

    Jeff Mishler Guest

    Add (vl-load-com) to one of your startup files (*.lsp, *.mnl)
     
    Jeff Mishler, Aug 24, 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.