AddRestraint Method (ICWLoadsAndRestraintsManager)
Creates a restraint.
.NET Syntax
Visual Basic (Usage) | |
---|
Dim instance As ICWLoadsAndRestraintsManager
Dim NRestraintType As Integer
Dim DispArray As Object
Dim RefGeom As Object
Dim ErrorCode As Integer
Dim value As CWRestraint
value = instance.AddRestraint(NRestraintType, DispArray, RefGeom, ErrorCode)
|
Parameters
- NRestraintType
Type of restraint as defined in swsRestraintType_e
- DispArray
- Array of entities to which to apply the restraint
- RefGeom
- Reference geometry entity for direction
- ErrorCode
Error code as defined in swsRestraintError_e
Return Value
Restraint
Example
Remarks
See Also
Availability
SolidWorks Simulation API 2008 SP1.0