Gets the load or restraint at the specified index.
.NET Syntax
| Visual Basic (Declaration) | |
|---|
Function GetLoadsAndRestraints( _
ByVal NIndex As System.Integer, _
ByRef ErrorCode As System.Integer _
) As CWLoadsAndRestraints |
| Visual Basic (Usage) | |
|---|
Dim instance As ICWLoadsAndRestraintsManager
Dim NIndex As System.Integer
Dim ErrorCode As System.Integer
Dim value As CWLoadsAndRestraints
value = instance.GetLoadsAndRestraints(NIndex, ErrorCode) |
| C# | |
|---|
CWLoadsAndRestraints GetLoadsAndRestraints(
System.int NIndex,
out System.int ErrorCode
) |
| C++/CLI | |
|---|
CWLoadsAndRestraints^ GetLoadsAndRestraints(
& System.int NIndex,
& [Out] System.int ErrorCode
) |
Parameters
- NIndex
- 0-based index of load or restraint to get
- ErrorCode
Error as defined in swsLoadsAndRestraintsError_e
Return Value
Load or restraint at specified index
Example
Remarks
See Also
Availability
SOLIDWORKS Simulation API 2008 SP1.0