Gets the solid body at the specified index.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function GetSolidBodyAt( _
ByVal NIndex As Integer, _
ByRef ErrorCode As Integer _
) As CWSolidBody |
Visual Basic (Usage) | |
---|
Dim instance As ICWSolidComponent
Dim NIndex As Integer
Dim ErrorCode As Integer
Dim value As CWSolidBody
value = instance.GetSolidBodyAt(NIndex, ErrorCode)
|
Parameters
- NIndex
- 0-based index of solid body to get
- ErrorCode
- 0 if successful, 1 if no solid body at NIndex
Return Value
Solid body or NULL if no solid body at NIndex
Example
Remarks
See Also
Availability
SolidWorks Simulation API 2008 SP1.0