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.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public TriangulatedShellComponent GetShellComponent( int componentIndex )
Parameters
- componentIndex Int32
- The component index, must be between 0 and ShellComponentCount – 1, inclusive.
Return Value
TriangulatedShellComponentThe component.
Exceptions
Exception | Condition |
---|---|
ArgumentException | Shell component index componentIndex is out of range. |