Solid Edge Framework Type Library
OnGetWhereUsedForAutomation Method
Specifies the item-id of the item.
Specifies the item-rev of the item.
DataSetName of the file.
Returns the list of whereUsed results.
Description
Gives the list of whereused documents
Syntax
Visual Basic
Public Sub OnGetWhereUsedForAutomation( _
   ByVal bstrItemId As String, _
   ByVal bstrItemRev As String, _
   ByVal bstrDataSetFileName As String, _
   ByRef pvarListOfWhereUsedDocuments As Variant _
) 
Parameters
bstrItemId
Specifies the item-id of the item.
bstrItemRev
Specifies the item-rev of the item.
bstrDataSetFileName
DataSetName of the file.
pvarListOfWhereUsedDocuments
Returns the list of whereUsed results.
Example
Private Sub Command1_Click()
    On Error Resume Next
    Dim objApplication As SolidEdgeFramework.Application
    Dim objSolidEdgeInsightXT  As SolidEdgeFramework.SolidEdgeInsightXT
    
    Set objApplication = GetObject(, "SolidEdge.Application")
    Set objSolidEdgeInsightXT = objApplication.SolidEdgeInsightXT

    Dim FileItemID As String
    Dim FileItemRevID As String
    Dim FileDataSetName As String
    Dim listoffiles As Variant

    FileItemID = "020670"
    FileItemRevID = "A"
    FileDataSetName = "020670.par"
    
    Call objSolidEdgeInsightXT.OnGetWhereUsedForAutomation(FileItemID, FileItemRevID, FileDataSetName, listoffiles)

    Set objSolidEdgeInsightXT = Nothing
    Set objApplication = Nothing
End Sub
See Also

SolidEdgeInsightXT Object  | SolidEdgeInsightXT Members  | Solid Edge ST4 - What's New