"GetReferenceToGraphicMember" api return Nothing

Hello All,


I have following code in VB6.0


Draft file contains 3 views of same modelink.



Dim oDVCircle As SolidEdgeDraft.DVCircle2d

Dim oReference As Object

Dim oFrontView As SolidEdgeDraft.DrawingView



Call oFrontView.GetReferenceToGraphicMember(oDVCircle, oReference)


I found that above API retuns Nothing while this API is working fine with SE v20.


I would appreciate if any work around suggested.


Thanks in advance,



Posted by: ryp
Post date: 5/8/2012 5:43:58 AM


Re: "GetReferenceToGraphicMember" api return Nothing

Sorry! I missed to mention this error is observed in SE ST4 and working fine with SE v20




Posted by: ryp
Post date: 5/8/2012 5:46:26 AM

Re: "GetReferenceToGraphicMember" api return Nothing

Hello JR,


Thanks for your reply.


I had tried with the "GetReferenceToGraphicMember2",as you had mentioned below,but it also shows error.

oReference = oFrontView.GetReferenceToGraphicMember2(oDVCircle)


I am getting this error with Drawing view objects such as DVCircle2d,DVArc2d,DVLine2d etc and it is working fine with graphic object on sheet such as Circle2d,Arc2d,Line2d.





Posted by: ryp
Post date: 5/13/2012 10:15:13 PM