Obsolete. Superseded by ICWLoadsAndRestraintsManager::AddForce2.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function AddForce( _
ByVal NForceType As Integer, _
ByVal DispArray As Object, _
ByVal RefGeom As Object, _
ByRef ErrorCode As Integer _
) As CWForce |
Visual Basic (Usage) | |
---|
Dim instance As ICWLoadsAndRestraintsManager
Dim NForceType As Integer
Dim DispArray As Object
Dim RefGeom As Object
Dim ErrorCode As Integer
Dim value As CWForce
value = instance.AddForce(NForceType, DispArray, RefGeom, ErrorCode)
|
Parameters
- NForceType
Type of force as defined in swsForceType_e
- DispArray
- Array of entities (faces, edges, vertices, or points) to which to apply force
- RefGeom
- Reference geometry entity to specify direction
- ErrorCode
Error as defined in swsForceError_e
Return Value
Force
Remarks
See Also
Availability
SolidWorks Simulation API 2008, SP1.0