SolidEdgeTCE.OnGetWhereUsedForAutomation returning no results

I am not having any luck getting this function to return results.  As it is written in the below link, I get an Invalid callee. (Exception from HRESULT: 0X80020010 (DISP_E_BADCALLEE)).

 

http://support.industrysoftware.automation.siemens.com/training/se/107/api/SolidEdgeFramework~SolidE...

 

I tried;

Dim vt as VariantType

Dim vtw As Object = New System.Runtime.InteropServices.VariantWrapper(vt)

and passing vtw.

 

It gets past the Call to the function but the wrapper contains no results.

 

I also tried

Dim vt as Object

 

with the same results.  None.

 

I can do objSEEC.DoesTeamCenterFileExists and bFileExists = true so I know it is connecting and finding the file but returning no results.  I know the file is used in an SE assembly.

1 REPLY

Re: SolidEdgeTCE.OnGetWhereUsedForAutomation returning no results

I was passing Dataset Name and not Dataset File Name.