Reply

"GetReferenceToGraphicMember" api return Nothing

[ Edited ]

Hello All,

 

I have following code in VB6.0

 

Draft file contains 3 views of same modelink.

 

'Declarations

Dim oDVCircle As SolidEdgeDraft.DVCircle2d

Dim oReference As Object

Dim oFrontView As SolidEdgeDraft.DrawingView

 

'Syntax

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,

Ritesh

 

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

2 REPLIES

Re: "GetReferenceToGraphicMember" api return Nothing

[ Edited ]

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

 

Ritesh

 

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

Re: "GetReferenceToGraphicMember" api return Nothing

[ Edited ]

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.

 

 

Ritesh...

 

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