Solid Edge Framework Type Library
GetMappedPropertiesForGivenFile Method
Specifies the Item Id of the file.
Specifies the Revision of the file.
Specifies the Data set name of the file.
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.
bstrItemRev
Specifies the Revision of the file.
bstrDataSetFileName
Specifies the Data set name of the file.
pvarListOfProperties
Returns the mapped property name and values of the given file.
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 = "022456"
    FileItemRevID = "A"
    FileDataSetName = "022456.par"
    
    Call objSolidEdgeInsightXT.GetMappedPropertiesForGivenFile(FileItemID, _
        FileItemRevID, _
        FileDataSetName, _
        listoffiles)

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

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

Send comments on this topic.