Hide Table of Contents
RunThickAnalysis2 Method (IThicknessAnalysis)

Runs a thickness analysis, shows the thick regions, and generates a report.

.NET Syntax

Visual Basic (Declaration) 
Function RunThickAnalysis2( _
   ByVal targetthickness As System.Double, _
   ByVal thicklimit As System.Double, _
   ByVal treatcornerzero As System.Boolean, _
   ByVal resolution As System.Integer, _
   ByVal lResultOptions As System.Integer, _
   ByVal reportname As System.String, _
   ByVal vtAddToBinderOption As System.Boolean, _
   ByVal vtSaveResultsInEdwg As System.Boolean, _
   ByVal vtOverwrite As System.Boolean _
) As System.Integer
Visual Basic (Usage) 
Dim instance As IThicknessAnalysis
Dim targetthickness As System.Double
Dim thicklimit As System.Double
Dim treatcornerzero As System.Boolean
Dim resolution As System.Integer
Dim lResultOptions As System.Integer
Dim reportname As System.String
Dim vtAddToBinderOption As System.Boolean
Dim vtSaveResultsInEdwg As System.Boolean
Dim vtOverwrite As System.Boolean
Dim value As System.Integer
 
value = instance.RunThickAnalysis2(targetthickness, thicklimit, treatcornerzero, resolution, lResultOptions, reportname, vtAddToBinderOption, vtSaveResultsInEdwg, vtOverwrite)
C# 
System.int RunThickAnalysis2( 
   System.double targetthickness,
   System.double thicklimit,
   System.bool treatcornerzero,
   System.int resolution,
   System.int lResultOptions,
   System.string reportname,
   System.bool vtAddToBinderOption,
   System.bool vtSaveResultsInEdwg,
   System.bool vtOverwrite
)
C++/CLI 
System.int RunThickAnalysis2( 
&   System.double targetthickness,
&   System.double thicklimit,
&   System.bool treatcornerzero,
&   System.int resolution,
&   System.int lResultOptions,
&   System.String^ reportname,
&   System.bool vtAddToBinderOption,
&   System.bool vtSaveResultsInEdwg,
&   System.bool vtOverwrite
) 

Parameters

targetthickness
Target thickness in meters
thicklimit

Thickness region limit in meters

treatcornerzero

True to disregard corners sharp corners, false to not

resolution
Resolution as defined in gttckResolutionOptions_e
lResultOptions
Display the results or save results to a report as defined in gtResultOptions_e
reportname
Path where to save the results report
vtAddToBinderOption
True to add the results report to the Design Binder, false to not
vtSaveResultsInEdwg

True to save the results in eDrawings, false to not

vtOverwrite
True to overwrite an existing results report of the same name, false to not

Return Value

Error as defined in gtError_e

Remarks

If there are any...

Then the analysis is run on...

Selected faces

Only those faces

Selected faces that belong to multiple solid bodies

Only on the selected faces of the body selected by IThicknessAnalysys::SetThicknessAnalysisBody

 

See Also

Availability

SolidWorks Utilities API 2007 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:   RunThickAnalysis2 Method (IThicknessAnalysis)
*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) 2014 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.