Hide Table of Contents
GetResultsEquationValuesForEntities Method (ICWResults)

Gets the result values for the specified equation and selected entities.

.NET Syntax

Visual Basic (Declaration) 
Function GetResultsEquationValuesForEntities( _
   ByVal SResultsEquation As System.String, _
   ByVal BValueByElem As System.Boolean, _
   ByVal NUnits As System.Integer, _
   ByVal NStepNumber As System.Integer, _
   ByVal NShellOptions As System.Integer, _
   ByVal ArraySelectedEntities As System.Object, _
   ByRef ErrorCode As System.Integer _
) As System.Object
Visual Basic (Usage) 
Dim instance As ICWResults
Dim SResultsEquation As System.String
Dim BValueByElem As System.Boolean
Dim NUnits As System.Integer
Dim NStepNumber As System.Integer
Dim NShellOptions As System.Integer
Dim ArraySelectedEntities As System.Object
Dim ErrorCode As System.Integer
Dim value As System.Object
value = instance.GetResultsEquationValuesForEntities(SResultsEquation, BValueByElem, NUnits, NStepNumber, NShellOptions, ArraySelectedEntities, ErrorCode)
System.object GetResultsEquationValuesForEntities( 
   System.string SResultsEquation,
   System.bool BValueByElem,
   System.int NUnits,
   System.int NStepNumber,
   System.int NShellOptions,
   System.object ArraySelectedEntities,
   out System.int ErrorCode
System.Object^ GetResultsEquationValuesForEntities( 
&   System.String^ SResultsEquation,
&   System.bool BValueByElem,
&   System.int NUnits,
&   System.int NStepNumber,
&   System.int NShellOptions,
&   System.Object^ ArraySelectedEntities,
&   [Out] System.int ErrorCode


Results equation
True to plot element values, false to plot node values
Units as defined in swsUnit_e
Number of solution step to plot
Shell face as defined in swsShellFace_e; valid only for shell and mixed mesh models
Array of selected entities; Nothing or null to return values for the entire model
Error code as defined in swsResultPlotErrorCode_e

Return Value

Array (see Remarks)



This method returns the following array:








where the nodes/elements are integer indexes, and the values are in scientific notation.


See Also


SOLIDWORKS Simulation API 2016 SP0

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

Subject:   Feedback on Help Topics
Page:   GetResultsEquationValuesForEntities Method (ICWResults)
*   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:


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

Web Help Content Version: API Help (English only) 2017 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.