Solid Edge Framework Type Library
GetDocumentUID Method
Specifies the local cache path of the file.
An output parameter that specifies the item-id of the item.
An output parameter that 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 that specifies the item-id of the item.
bstrItemRev
An output parameter that specifies the item-rev of the item.
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 strFileName As String
    Dim FileItemRevID As String
    Dim FileItemItemID As String

    strFileName = "F:\009431.par"

    Call objSolidEdgeInsightXT.GetDocumentUID(strFileName, FileItemItemID, FileItemRevID)
    MsgBox (FileItemItemID)
    MsgBox (FileItemRevID)

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

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