Compares the properties of the specified SOLIDWORKS documents and generates a report.
.NET Syntax
Visual Basic (Usage) | |
---|
Dim instance As ICompareDocument
Dim reffile As System.String
Dim refconfig As System.String
Dim modfile As System.String
Dim modconfig As System.String
Dim lOperationOptions As System.Integer
Dim lResultOptions As System.Integer
Dim reportname As System.String
Dim vtAddToBinderOption As System.Boolean
Dim vtOverwrite As System.Boolean
Dim value As System.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