Hide Table of Contents
CompareFeatures2 Method (ICompareFeature)

Identifies the differences in solid features between two versions of the same SOLIDWORKS part and generates a report.

.NET Syntax

Visual Basic (Declaration) 
Function CompareFeatures2( _
   ByVal reffile As System.String, _
   ByVal refconfig As System.String, _
   ByVal modfile As System.String, _
   ByVal modconfig As System.String, _
   ByVal lOptions As System.Integer, _
   ByVal reportname As System.String, _
   ByVal vtAddToBinderOption As System.Boolean, _
   ByVal vtOverwrite As System.Boolean _
) As System.Integer
Visual Basic (Usage) 
Dim instance As ICompareFeature
Dim reffile As System.String
Dim refconfig As System.String
Dim modfile As System.String
Dim modconfig As System.String
Dim lOptions 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.CompareFeatures2(reffile, refconfig, modfile, modconfig, lOptions, reportname, vtAddToBinderOption, vtOverwrite)
C# 
System.int CompareFeatures2( 
   System.string reffile,
   System.string refconfig,
   System.string modfile,
   System.string modconfig,
   System.int lOptions,
   System.string reportname,
   System.bool vtAddToBinderOption,
   System.bool vtOverwrite
)
C++/CLI 
System.int CompareFeatures2( 
&   System.String^ reffile,
&   System.String^ refconfig,
&   System.String^ modfile,
&   System.String^ modconfig,
&   System.int lOptions,
&   System.String^ reportname,
&   System.bool vtAddToBinderOption,
&   System.bool 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


Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   CompareFeatures2 Method (ICompareFeature)
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:

x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: API Help (English only) 2015 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.