Compares the properties of the specified SolidWorks documents and generates a report.
.NET Syntax
Visual Basic (Usage) | |
---|
Dim instance As ICompareDocument
Dim reffile As String
Dim refconfig As String
Dim modfile As String
Dim modconfig As String
Dim lOperationOptions As Integer
Dim lResultOptions As Integer
Dim reportname As String
Dim vtAddToBinderOption As Boolean
Dim vtOverwrite As Boolean
Dim value As Integer
value = instance.CompareDocument2(reffile, refconfig, modfile, modconfig, lOperationOptions, lResultOptions, reportname, vtAddToBinderOption, vtOverwrite)
|
Parameters
- reffile
- Path and filename of the SolidWorks document containing the referenced part
- refconfig
- Name of reference part's configuration; if blank, then the active configuration is used
- modfile
- Path and filename of the SolidWorks document containing the modified part
- modconfig
Name of modified part's configuration
- lOperationOptions
Compare face, volume, or feature as defined by gtCodOperationOption_e
- lResultOptions
- Display the results or save the results to a report as defined by gtResultOptions_e
- reportname
- Path where to write the results report
- vtAddToBinderOption
- True to add the results report to the Design Binder, false to not
- vtOverwrite
- True to overwrite an existing results report of the same name, false to not
Return Value
Error as defined by
gtError_e
Example
See Also
Availability
SolidWorks Utilities API 2006 FCS