Obsolete. Superseded by ICWloadsAndRestraintsManager::AddForce3.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function AddForce2( _
ByVal NForceType As System.Integer, _
ByVal NSelectionType 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 NSelectionType As System.Integer
Dim DispArray As System.Object
Dim RefGeom As System.Object
Dim ErrorCode As System.Integer
Dim value As CWForce
value = instance.AddForce2(NForceType, NSelectionType, DispArray, RefGeom, ErrorCode) |
Parameters
- NForceType
Type of force as defined in swsForceType_e
- NSelectionType
Type of selection as defined in swsSelectionType_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
Example
Remarks
See Also
Availability
SolidWorks Simulation API 2010 SP0