Hide Table of Contents
GetReactionForcesAndMomentsWithSelections Method (ICWResults)

Gets the reaction forces and moments for selections and the entire model at the specified solution step.

.NET Syntax

Visual Basic (Declaration) 
Function GetReactionForcesAndMomentsWithSelections( _
   ByVal NStepNumber As System.Integer, _
   ByVal DispPlane As System.Object, _
   ByVal NUnits As System.Integer, _
   ByVal SelectedObjects As System.Object, _
   ByRef SelectionAndEntireModelReactionForcesAndMoments As System.Object, _
   ByRef EachSelectedObjectReactionForcesAndMoments As System.Object, _
   ByRef ErrorCode As System.Integer _
) As System.Object
Visual Basic (Usage) 
Dim instance As ICWResults
Dim NStepNumber As System.Integer
Dim DispPlane As System.Object
Dim NUnits As System.Integer
Dim SelectedObjects As System.Object
Dim SelectionAndEntireModelReactionForcesAndMoments As System.Object
Dim EachSelectedObjectReactionForcesAndMoments As System.Object
Dim ErrorCode As System.Integer
Dim value As System.Object
 
value = instance.GetReactionForcesAndMomentsWithSelections(NStepNumber, DispPlane, NUnits, SelectedObjects, SelectionAndEntireModelReactionForcesAndMoments, EachSelectedObjectReactionForcesAndMoments, ErrorCode)
C# 
System.object GetReactionForcesAndMomentsWithSelections( 
   System.int NStepNumber,
   System.object DispPlane,
   System.int NUnits,
   System.object SelectedObjects,
   out System.object SelectionAndEntireModelReactionForcesAndMoments,
   out System.object EachSelectedObjectReactionForcesAndMoments,
   out System.int ErrorCode
)
C++/CLI 
System.Object^ GetReactionForcesAndMomentsWithSelections( 
&   System.int NStepNumber,
&   System.Object^ DispPlane,
&   System.int NUnits,
&   System.Object^ SelectedObjects,
&   [Out] System.Object^ SelectionAndEntireModelReactionForcesAndMoments,
&   [Out] System.Object^ EachSelectedObjectReactionForcesAndMoments,
&   [Out] System.int ErrorCode
) 

Parameters

NStepNumber
Solution step number (use 1 for static)
DispPlane
Plane, axis, or coodinate system relative to which to list reaction results
NUnits
Unit as defined in swsForceUnit_e
SelectedObjects
Array of entities for which to get reaction results
SelectionAndEntireModelReactionForcesAndMoments
Array of reaction forces and moments for the selected entities and the entire model (see Remarks)
EachSelectedObjectReactionForcesAndMoments
Array of reaction forces and moments for each selected entity (see Remarks)
ErrorCode
Error as defined in swsResultsError_e

Return Value

Array of reaction forces and moments (see Remarks)

Example

Remarks

This method is valid only for static, nonlinear, drop test, and dynamic studies.

SelectionAndEntireModelReactionForcesAndMoments array contains 16 elements:

{

     summation_xcoord_forces_all_selections,

     summation_ycoord_forces_all_selections,

     summation_zcoord_forces_all_selections,

     resultant_force_all_selections,

     summation_xcoord_moments_all_selections,

     summation_ycoord_moments_all_selections,

     summation_zcoord_moments_all_selections,

     resultant_moment_all_selections,

     summation_xcoord_forces_entire_model,

     summation_ycoord_forces_entire_model,

     summation_zcoord_forces_entire_model,

     resultant_force_entire_model,

     summation_xcoord_moments_entire_model,

     summation_ycoord_moments_entire_model,

     summation_zcoord_moments_entire_model,

     resultant_moment_entire_model

}

EachSelectedObjectReactionForcesAndMoments array contains (8 X no_of_selections) elements:

{

     selection_1_xcoord_reaction_force,

     selection_1_ycoord_reaction_force,

     selection_1_zcoord_reaction_force,

     selection_1_resultant_reaction_force,

     selection_1_xcoord_reaction_moment,

     selection_1_ycoord_reaction_moment,

     selection_1_zcoord_reaction_moment,

     selection_1_resultant_reaction_moment,

     ...

     selection_n_xcoord_reaction_force,

     selection_n_ycoord_reaction_force,

     selection_n_zcoord_reaction_force,

     selection_n_resultant_reaction_force,

     selection_n_xcoord_reaction_moment,

     selection_n_ycoord_reaction_moment,

     selection_n_zcoord_reaction_moment,

     selection_n_resultant_reaction_moment

}

This method returns the reaction forces and moments at each node of the entire model:

{

     node_1,

     node_1_xcoord_reaction_force,

     node_1_ycoord_reaction_force,

     node_1_zcoord_reaction_force,

     node_1_resultant_reaction_force,

     node_1_xcoord_reaction_moment,

     node_1_ycoord_reaction_moment,

     node_1_zcoord_reaction_moment,

     node_1_resultant_reaction_moment,

     ...

     node_n,

     node_n_xcoord_reaction_force,

     node_n_ycoord_reaction_force,

     node_n_zcoord_reaction_force,

     node_n_resultant_reaction_force,

     node_n_xcoord_reaction_moment,

     node_n_ycoord_reaction_moment,

     node_n_zcoord_reaction_moment,

     node_n_resultant_reaction_moment

}

In all of the arrays, the nodes are integers, and the reaction forces and moments are in decimal or scientific notation.

 

See Also

Availability

SOLIDWORKS Simulation API 2015 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

 
*Email:  
Subject:   Feedback on Help Topics
Page:   GetReactionForcesAndMomentsWithSelections 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) 2015 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.