Can't get Tony's MAKEDWGPREVIEW to work w/ 2004

Discussion in 'AutoCAD' started by chris villanueva, Jun 5, 2004.

  1. I'm new to vlisp. MakePreview.txt is a part of AcadX15.zip, and not in
    AcadX16.zip. It works in 2000i. Is it supposed to work in 2004?
    Here's what it returns in 2004:

    Command: MAKEDWGPREVIEW
    *Cancel*
    Error: bad argument type: VLA-OBJECT nil

    I'm not sure, but I think the problem is with this line:
    (setq dbxdoc
    (vla-getInterfaceObject acad
    "ObjectDBX.AxDbDocument"
    )
    )

    Chris
     
    chris villanueva, Jun 5, 2004
    #1
  2. Tony Tanzillo, Jun 5, 2004
    #2
  3. chris villanueva, Jun 7, 2004
    #3
  4. chris villanueva

    The Real JD Guest

    Just curious.. what is this? ->MAKEDWGPREVIEW

    I couldn't find anything at caddzone about it...
     
    The Real JD, Jun 8, 2004
    #4
  5. "...how to open a drawing using ObjectDBX from Visual LISP, and generate a
    preview of the drawing, save it, and finally releases it using
    FreeObject..."

    Download AcadX15.zip at the site.
     
    chris villanueva, Jun 8, 2004
    #5
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.