Solid Edge Framework Type Library > SolidEdgeInsightXT Object : CheckInDocumentsToInsightXTServerEx Method |
This is two dimensional array. Each row contains data per document. Each column will contain input information.
For a document to be uploaded and checked in:
Third and fourth columns are added in order to add the items to projects while doing checkin of item in order to not break the existing APIs we make these parameters optional. |
Visual Basic |
---|
Public Sub CheckInDocumentsToInsightXTServerEx( _ ByRef pvarFilesToBeCheckedInInfo As Variant, _ ByRef pvarArguments As Variant _ ) |
This is two dimensional array. Each row contains data per document. Each column will contain input information.
For a document to be uploaded and checked in:
Third and fourth columns are added in order to add the items to projects while doing checkin of item in order to not break the existing APIs we make these parameters optional. |
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 'Example takes two documents to be checked in To InsightXT. 'Caller should fill two dimensional array with two rows and two columns as filename and container wise props for smart code field set support. Dim FilesToBeCheckedInInfo(1, 1) As Object FilesToBeCheckedInInfo(0, 0) = "D:\300120.par" 'Cache Path FilesToBeCheckedInInfo(0, 1) = SmartCodesInfo(0, 4) FilesToBeCheckedInInfo(1, 0) = "D:\400120.par" 'Cache Path FilesToBeCheckedInInfo(1, 1) = SmartCodesInfo(1, 4) 'Set Boolean upload flag Dim bUpload As Boolean bUpload = False 'Fill array with first element with Upload flag. Dim ObjArgs(0) As Object ObjArgs(0) = bUpload Call objSolidEdgeInsightXT.CheckInDocumentsToInsightXTServerEx(FilesToBeCheckedInInfo, ObjArgs) Set objSolidEdgeInsightXT = Nothing Set objApplication = Nothing End Sub