GetInterfaceObject()

GetInterfaceObject()

Anonymous
Not applicable
483 Views
2 Replies
Message 1 of 3

GetInterfaceObject()

Anonymous
Not applicable
can anyone tell me why this doesn't work.

Set VL = ThisDrawing.Application.GetInterfaceObject("VL.Application.1")
0 Likes
484 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
Did you call (vl-load-com) from LISP first?

"Bill Wright" wrote in message
news:[email protected]...
> can anyone tell me why this doesn't work.
>
> Set VL = ThisDrawing.Application.GetInterfaceObject("VL.Application.1")
>
0 Likes
Message 3 of 3

Anonymous
Not applicable
Thanks, that works. I ended up using the AcadX .GetXrefPath method instead of
the VLAX.cls but I was still curious.

--

Tony Tanzillo wrote:

> Did you call (vl-load-com) from LISP first?
>
> "Bill Wright" wrote in message
> news:[email protected]...
> > can anyone tell me why this doesn't work.
> >
> > Set VL = ThisDrawing.Application.GetInterfaceObject("VL.Application.1")
> >
0 Likes