Solid Edge Framework Type Library
GetListOfIndirectFilesForGivenFile Method
Specifies the Item Id of the file which user wants to download.
Specifies the Revision of the file to be downloaded.
Specifies the Data set name of the file which is to be downloaded.
Revision rule of the file.
Variant rule of the file.
Returns the names of the indirect file names.
Description
Returns all the indirect file names.
Syntax
Visual Basic
Public Sub GetListOfIndirectFilesForGivenFile( _
   ByVal bstrItemId As String, _
   ByVal bstrItemRev As String, _
   ByVal bstrDataSetFileName As String, _
   ByVal bstrRevisionRule As String, _
   ByVal bstrVariantRule As String, _
   ByRef pvarListOfIndirectFiles As Variant _
) 
Parameters
bstrItemId
Specifies the Item Id of the file which user wants to download.
bstrItemRev
Specifies the Revision of the file to be downloaded.
bstrDataSetFileName
Specifies the Data set name of the file which is to be downloaded.
bstrRevisionRule
Revision rule of the file.
bstrVariantRule
Variant rule of the file.
pvarListOfIndirectFiles
Returns the names of the indirect file names.
Example
Option Explicit

Sub Example()
    Dim objApplication As SolidEdgeFramework.Application
    Dim objTCE As SolidEdgeFramework.SolidEdgeTCE
    Dim FileItemID As String
    Dim FileItemRevID As String
    Dim FileDataSetName As String
    Dim FileRevisionRule As String
    Dim FileVariantRule As String
    Dim listoffiles As Variant
    
    Set objApplication = GetObject(, "SolidEdge.Application")
    Set objTCE = objApplication.SolidEdgeTCE

    FileItemID = "020147"
    FileItemRevID = "A"
    FileDataSetName = "020147.par"
    FileRevisionRule = "latest working"
    FileVariantRule = ""

    Call objTCE.GetListOfIndirectFilesForGivenFile(FileItemID, FileItemRevID, FileDataSetName, FileRevisionRule, FileVariantRule, listoffiles)
    
    If Not objApplication Is Nothing Then
        Call objApplication.Quit
    End If
    
    Set objTCE = Nothing
    Set objApplication = Nothing
End Sub
See Also

SolidEdgeTCE Object  | SolidEdgeTCE Members  | Solid Edge ST - What's New