Identifies the differences in solid features between two versions of the same SolidWorks part and generates a report.
.NET Syntax
Visual Basic (Usage) | |
---|
Dim instance As ICompareFeature
Dim reffile As String
Dim refconfig As String
Dim modfile As String
Dim modconfig As String
Dim lOptions As Integer
Dim reportname As String
Dim vtAddToBinderOption As Boolean
Dim vtOverwrite As Boolean
Dim value As Integer
value = instance.CompareFeatures2(reffile, refconfig, modfile, modconfig, lOptions, reportname, vtAddToBinderOption, vtOverwrite)
|
Parameters
- reffile
- Path and filename of the SolidWorks document containing the referenced part
- refconfig
- Name of the 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
- lOptions
- Display the results or save the results to a report as defined by gtResultOptions_e
- reportname
- Path where to save 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