Identifies the differences in geometry in the solid features and surface models between two versions of the same part and generates a report.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function CompareGeometry3( _
ByVal reffile As String, _
ByVal refconfig As String, _
ByVal modfile As String, _
ByVal modconfig As String, _
ByVal lOperationOptions As Integer, _
ByVal lResultOptions As Integer, _
ByVal reportname As String, _
ByVal vtAddToBinderOption As Boolean, _
ByVal vtOverwrite As Boolean, _
ByRef volDiffStatus As Integer, _
ByRef faceDiffStatus As Integer _
) As Integer |
Visual Basic (Usage) | |
---|
Dim instance As ICompareGeometry
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 volDiffStatus As Integer
Dim faceDiffStatus As Integer
Dim value As Integer
value = instance.CompareGeometry3(reffile, refconfig, modfile, modconfig, lOperationOptions, lResultOptions, reportname, vtAddToBinderOption, vtOverwrite, volDiffStatus, faceDiffStatus)
|
C# | |
---|
int CompareGeometry3(
string reffile,
string refconfig,
string modfile,
string modconfig,
int lOperationOptions,
int lResultOptions,
string reportname,
bool vtAddToBinderOption,
bool vtOverwrite,
out int volDiffStatus,
out int faceDiffStatus
) |
C++/CLI | |
---|
int CompareGeometry3(
& String^ reffile,
& String^ refconfig,
& String^ modfile,
& String^ modconfig,
& int lOperationOptions,
& int lResultOptions,
& String^ reportname,
& bool vtAddToBinderOption,
& bool vtOverwrite,
& [Out] int volDiffStatus,
& [Out] int faceDiffStatus
) |
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 face and volume options as defined by gtGdfOperationOption_e
- lResultOptions
- 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
- volDiffStatus
- Error types for volume differences as defined in gtVolDiffStatusOptionType_e
- faceDiffStatus
- Error types for face differences as defined in gtVolDiffStatusOptionType_e
Return Value
Error as defined by
gtError_e
Example
Remarks
See Also
Availability
SolidWorks 2010 FCS, Revision Number 18.0