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 System.String, _
ByVal refconfig As System.String, _
ByVal modfile As System.String, _
ByVal modconfig As System.String, _
ByVal lOperationOptions As System.Integer, _
ByVal lResultOptions As System.Integer, _
ByVal reportname As System.String, _
ByVal vtAddToBinderOption As System.Boolean, _
ByVal vtOverwrite As System.Boolean, _
ByRef volDiffStatus As System.Integer, _
ByRef faceDiffStatus As System.Integer _
) As System.Integer |
Visual Basic (Usage) | |
---|
Dim instance As ICompareGeometry
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 volDiffStatus As System.Integer
Dim faceDiffStatus As System.Integer
Dim value As System.Integer
value = instance.CompareGeometry3(reffile, refconfig, modfile, modconfig, lOperationOptions, lResultOptions, reportname, vtAddToBinderOption, vtOverwrite, volDiffStatus, faceDiffStatus) |
C# | |
---|
System.int CompareGeometry3(
System.string reffile,
System.string refconfig,
System.string modfile,
System.string modconfig,
System.int lOperationOptions,
System.int lResultOptions,
System.string reportname,
System.bool vtAddToBinderOption,
System.bool vtOverwrite,
out System.int volDiffStatus,
out System.int faceDiffStatus
) |
C++/CLI | |
---|
System.int CompareGeometry3(
& System.String^ reffile,
& System.String^ refconfig,
& System.String^ modfile,
& System.String^ modconfig,
& System.int lOperationOptions,
& System.int lResultOptions,
& System.String^ reportname,
& System.bool vtAddToBinderOption,
& System.bool vtOverwrite,
& [Out] System.int volDiffStatus,
& [Out] System.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