TriangulatedSolidOrShell.GetShellComponent Method

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.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

ExceptionCondition
ArgumentException Shell component index componentIndex is out of range.

See Also

Reference

TriangulatedSolidOrShell Class
Autodesk.Revit.DB Namespace