vlax - Detecting xreference Attsch or Overlay

Discussion in 'AutoCAD' started by Martin Wright, Jan 19, 2004.

  1. I have succesfully used vlax.cls in AutoCAD 2002 for detecting xreference
    types. I now use AutoCAD 2004 and get an error.
    Is there anything that I should change to suit 2004

    Thanks
    Martin Wright
     
    Martin Wright, Jan 19, 2004
    #1
  2. Its hard to say without seeing any code Martin. What kind of error are
    you getting?
    ___________________________
    Mike Tuersley
    AutoCAD Clinic
    Rand IMAGINiT Technologies
     
    Mike Tuersley, Jan 20, 2004
    #2
  3. Okay Martin, in the vlax.cls file, change the following line:

    Set VL = ThisDrawing.Application.GetInterfaceObject("VL.Application.1")

    to:

    Set VL = ThisDrawing.Application.GetInterfaceObject("VL.Application.16")

    I should have seen it earlier:(

    ___________________________
    Mike Tuersley
    CADalyst's AutoCAD Clinic
    Rand IMAGINiT Technologies
     
    Mike Tuersley, Jan 20, 2004
    #3
  4. Just got home
    Thanks for your help
    I check it out tomorrow.
    Thanks
    Martin Wright
     
    Martin Wright, Jan 20, 2004
    #4
  5. Thanks Mike
    All is well
     
    Martin Wright, Jan 20, 2004
    #5
  6. Any time Martin!
    ___________________________
    Mike Tuersley
    CADalyst's AutoCAD Clinic
    Rand IMAGINiT Technologies
     
    Mike Tuersley, Jan 21, 2004
    #6
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.