Gets the specified contact/friction force for the selected entities.
.NET Syntax
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)
|
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