Gets the solid component at the specified index.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function GetComponentAt( _
ByVal NIndex As Integer, _
ByRef ErrorCode As Integer _
) As CWSolidComponent |
Visual Basic (Usage) | |
---|
Dim instance As ICWSolidManager
Dim NIndex As Integer
Dim ErrorCode As Integer
Dim value As CWSolidComponent
value = instance.GetComponentAt(NIndex, ErrorCode)
|
C++/CLI | |
---|
CWSolidComponent^ GetComponentAt(
& int NIndex,
& [Out] 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