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