Returns the specified shell component of a solid or shell. Input componentIndex must lie
between 0 and ShellComponentCount-1, inclusive. The returned TriangulatedShellComponent
should not be modified by the caller.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public TriangulatedShellComponent GetShellComponent(
int componentIndex
)
Parameters
- componentIndex Int32
-
The component index, must be between 0 and ShellComponentCount – 1, inclusive.
Return Value
TriangulatedShellComponent
The component.
Exceptions
| Exception | Condition |
|---|
| ArgumentException |
Shell component index componentIndex is out of range.
|
See Also
Reference