Hide Table of Contents
GetContactForcesAndFriction Method (ICWResults)

Gets the specified contact or friction forces for the specified entities.

.NET Syntax

Visual Basic (Declaration) 
Function GetContactForcesAndFriction( _
   ByVal NStepNumber As System.Integer, _
   ByVal DispPlane As System.Object, _
   ByVal ArraySelectedEntities As System.Object, _
   ByVal NForceType As System.Integer, _
   ByVal NUnits As System.Integer, _
   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 ArraySelectedEntities As System.Object
Dim NForceType As System.Integer
Dim NUnits As System.Integer
Dim ErrorCode As System.Integer
Dim value As System.Object
 
value = instance.GetContactForcesAndFriction(NStepNumber, DispPlane, ArraySelectedEntities, NForceType, NUnits, ErrorCode)
C# 
System.object GetContactForcesAndFriction( 
   System.int NStepNumber,
   System.object DispPlane,
   System.object ArraySelectedEntities,
   System.int NForceType,
   System.int NUnits,
   out System.int ErrorCode
)
C++/CLI 
System.Object^ GetContactForcesAndFriction( 
&   System.int NStepNumber,
&   System.Object^ DispPlane,
&   System.Object^ ArraySelectedEntities,
&   System.int NForceType,
&   System.int NUnits,
&   [Out] System.int ErrorCode
) 

Parameters

NStepNumber
Solution step number at which to calculate the contact forces for non-linear and drop test studies; 1 for static studies
DispPlane
Plane, axis, or coordinate system relative to which the contact forces are calculated
ArraySelectedEntities
Array of entities for which to calculate contact forces
NForceType

Type of contact force as defined in swsNForceType_e

NUnits

Units as defined in swsUnit_e

ErrorCode

Error as defined in swsResultsError_e

Return Value

Array of four doubles of the contact forces for all selections in ArraySelectedEntities:

  1. Summation of x-components of contact forces
  2. Summation of y-components of contact forces
  3. Summation of z-components of contact forces
  4. Resultant contact force

Example

 

See Also

Availability

SolidWorks Simulation API 2013 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:   GetContactForcesAndFriction 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.