Gets the specified contact or friction forces for the specified entities.
.NET Syntax
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) |
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:
- Summation of x-components of contact forces
- Summation of y-components of contact forces
- Summation of z-components of contact forces
- Resultant contact force
Example
See Also
Availability
SolidWorks Simulation API 2013 SP0