Solid Edge Framework Type Library
CheckOutDocumentsFromInsightXTServer Method
Specifies the item-id of the item.
Specifies the item-rev of the item.

A Boolean flag. It has following possible values:

Description
Checkout the File from the server
Syntax
Visual Basic
Public Sub CheckOutDocumentsFromInsightXTServer( _
   ByVal bstrDirctFileItemId As String, _
   ByVal bstrDirctFileItemRevId As String, _
   ByVal bOnlyDownload As Boolean, _
   Optional ByVal bstrFilename As String, _
   Optional ByVal enumDownloadLevel As DocumentDownloadLevel = SEECDownloadAllLevel _
) 
Parameters
bstrDirctFileItemId
Specifies the item-id of the item.
bstrDirctFileItemRevId
Specifies the item-rev of the item.
bOnlyDownload

A Boolean flag. It has following possible values:

  • TRUE – In case where it is required to only download the given item from the InsightXT database but don’t want to check it out.
  • FALSE – In case where it is required to both download as well as checkout.
bstrFilename
enumDownloadLevel
ValueDescription
SEECDownloadAllLevel
SEECDownloadFirstLevel
SEECDownloadTopLevel
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 bOnlydownload As Boolean

    FileItemID = "009431"
    FileItemRevID = "A"
    bOnlydownload = False

    Call objSolidEdgeInsightXT.CheckOutDocumentsFromInsightXTServer(FileItemID, FileItemRevID, bOnlydownload)

    Set objSolidEdgeInsightXT = Nothing
    Set objApplication = Nothing
End Sub

See Also

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