Obsolete. Superseded by ICWLoadsAndRestraintsManager::AddForce2.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function AddForce( _
ByVal NForceType As System.Integer, _
ByVal DispArray As System.Object, _
ByVal RefGeom As System.Object, _
ByRef ErrorCode As System.Integer _
) As CWForce |
Visual Basic (Usage) | |
---|
Dim instance As ICWLoadsAndRestraintsManager
Dim NForceType As System.Integer
Dim DispArray As System.Object
Dim RefGeom As System.Object
Dim ErrorCode As System.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 (see Remarks)
- ErrorCode
- Error as defined in swsForceError_e
Return Value
Force
Remarks
See Also
Availability
SOLIDWORKS Simulation API 2008, SP1.0