Hi all!Hi jason! I want to access a DVline2D through the mouse click in a dft, but the value of DVline2D is null. My programrivate void objMouse_MouseClick(short sButton, short sShift, double dX, double dY, double dZ, object pWindowDispatch, int lKeyPointType, object pGraphicDispatch) SolidEdgeDraft.DVLine2d dvline2d= null; dvline2d = pGraphicDispatch as SolidEdgeDraft.DVLine2d;// dvline2d is null.
Butby enteringadrawingviewofa dft, the mouse clickcan getthedvline2d.How do Ipick upadvline2dobject through the mouseclick?Please help!Thanks!
Posted by: fat kids Post date: 4/16/2011 6:55:04 AM