Hide Table of Contents
GetMinMaxFactorOfSafety Method (ICWResults)

Obsolete. Superseded by ICWResults::GetMinMaxFactorOfSafety2.

.NET Syntax

Visual Basic (Declaration) 
Function GetMinMaxFactorOfSafety( _
   ByVal BAllBodies As System.Boolean, _
   ByVal ArraySelectedEntities As System.Object, _
   ByVal NComponent As System.Integer, _
   ByVal NShellOptions As System.Integer, _
   ByRef ErrorCode As System.Integer _
) As System.Object
Visual Basic (Usage) 
Dim instance As ICWResults
Dim BAllBodies As System.Boolean
Dim ArraySelectedEntities As System.Object
Dim NComponent As System.Integer
Dim NShellOptions As System.Integer
Dim ErrorCode As System.Integer
Dim value As System.Object
 
value = instance.GetMinMaxFactorOfSafety(BAllBodies, ArraySelectedEntities, NComponent, NShellOptions, ErrorCode)
C# 
System.object GetMinMaxFactorOfSafety( 
   System.bool BAllBodies,
   System.object ArraySelectedEntities,
   System.int NComponent,
   System.int NShellOptions,
   out System.int ErrorCode
)
C++/CLI 
System.Object^ GetMinMaxFactorOfSafety( 
&   System.bool BAllBodies,
&   System.Object^ ArraySelectedEntities,
&   System.int NComponent,
&   System.int NShellOptions,
&   [Out] System.int ErrorCode
) 

Parameters

BAllBodies
True to select all bodies to plot the factor of safety, false to select specific bodies
ArraySelectedEntities
Array of bodies for which to plot the factor of safety; valid only if BAllBodies is set to false
NComponent
Failure criterion as defined by swsFOS_NonCompositeCriterion_e (see Remarks)
NShellOptions
Shell face on which to perform the factor of safety as defined by swsFOS_ShellFaceOption_e
ErrorCode
Error code as defined by swsFosPlotErrorCode_e

Return Value

Array of two doubles of the minimum and maximum factors of safety

Remarks

For pure beam studies, you can only specify NComponent with swsFOS_NonCompositeCriterion_e.swsFOSNonCompositeCriterion_Automatic.
 

See Also

Availability

SOLIDWORKS Simulation API 2013 SP5.0


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:   GetMinMaxFactorOfSafety Method (ICWResults)
*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) 2018 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.