Hide Table of Contents
GetMinMaxFactorOfSafety Method (ICWResults)

Gets the algebraic minimum and maximum factors of safety (FOS) for the specified entities.

.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
If the model... Then NComponent is the failure criterion as defined by...
has a composite shell swsFOS_CompositeCriterion_e
does not have a composite shell swsFOS_NonCompositeCriterion_e
nShellOptions
Shell face on which to perform the factor of safety as defined by swsFOS_NormalShellFaceOption_e
ErrorCode
Error code as defined by swsFOS_ErrorCode_e

Return Value

Array (see Remarks)

Remarks

This method returns the following array:

{node_with_minimum_FOS, minimum_FOS, node_with_maximum_FOS, maximum_FOS}

where the nodes are indexes, and the factors of safety are in scientific notation.

 

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) 2013 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.