Solid Edge Framework Type Library
GetMappedPropertiesForGivenFile 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.
Returns the mapped property name and values of the given file.
Description
Return all the mapped properties from server for a given file
Syntax
Visual Basic
Public Sub GetMappedPropertiesForGivenFile( _
   ByVal bstrItemId As String, _
   ByVal bstrItemRev As String, _
   ByVal bstrDataSetFileName As String, _
   ByRef pvarListOfProperties 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.
pvarListOfProperties
Returns the mapped property name and values of the given file.
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 listOfProperties As Variant
    
    Set objApplication = GetObject(, "SolidEdge.Application")
    Set objTCE = objApplication.SolidEdgeTCE

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

    Call objTCE.GetMappedPropertiesForGivenFile(FileItemID, FileItemRevID, FileDataSetName, listOfProperties)
    
    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