Solid Edge Framework Type Library
GetDocumentUID Method
Specifies the local cache path of the file.
An output parameter and specifies the item-id of the item.
An output parameter and specifies the item-rev of the item.
Description
Get the UID of the document
Syntax
Visual Basic
Public Sub GetDocumentUID( _
   ByVal bstrFilename As String, _
   ByRef bstrItemId As String, _
   ByRef bstrItemRev As String _
) 
Parameters
bstrFilename
Specifies the local cache path of the file.
bstrItemId
An output parameter and specifies the item-id of the item.
bstrItemRev
An output parameter and specifies the item-rev of the item.
Example
Option Explicit

Sub Example()
    Dim objApplication As SolidEdgeFramework.Application
    Dim objTCE As SolidEdgeFramework.SolidEdgeTCE
    Dim strFileName As String
    Dim FileItemRevID As String
    Dim FileItemItemID As String

    Set objApplication = GetObject(, "SolidEdge.Application")
    Set objTCE = objApplication.SolidEdgeTCE

    strFileName = "F:\009431.par"
    Call objTCE.GetDocumentUID(strFileName, FileItemItemID, FileItemRevID)

    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 V19 - What's New