Hide Table of Contents
GetContactForcesAndFriction Method (ICWResults)

Gets the specified contact/friction force for the selected entities.

.NET Syntax

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

Parameters

NStepNumber
Solution step number at which you want to list the contact/friction force; available only with nonlinear and drop-test studies
DispPlane
Reference entity (plane, axis, or coordinate system)
DispArray
Array of faces, edges, or vertices
NForceType

Type of force:

  • 0 = Normal
  • 1 = Friction
  • 2 = Total
NUnits
Units as defined in swsUnit_e
ErrorCode

Error as defined in swsResultsError_e

Return Value

x, y, z, and resultant force

Example

 

See Also

Availability

SolidWorks Simulation API 2010 SP3


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