Gets the solid component at the specified index.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function GetComponentAt( _
ByVal NIndex As System.Integer, _
ByRef ErrorCode As System.Integer _
) As CWSolidComponent |
Visual Basic (Usage) | |
---|
Dim instance As ICWSolidManager
Dim NIndex As System.Integer
Dim ErrorCode As System.Integer
Dim value As CWSolidComponent
value = instance.GetComponentAt(NIndex, ErrorCode) |
C# | |
---|
CWSolidComponent GetComponentAt(
System.int NIndex,
out System.int ErrorCode
) |
C++/CLI | |
---|
CWSolidComponent^ GetComponentAt(
& System.int NIndex,
& [Out] System.int ErrorCode
) |
Parameters
- NIndex
- 0-based index of the solid component to get
- ErrorCode
- 0 if successful, 1 if no solid component at NIndex
Return Value
Solid component or NULL if no solid component at NIndex
Example
Remarks
See Also
Availability
SOLIDWORKS Simulation API 2008 SP1.0