## SelectAllConnectedComponents

### Introduced

v10.5 (2012)

### Description

Selects an island from selected components. An island is defined as all the components directly connected to the selected components.

### Scripting Syntax

    SelectAllConnectedComponents( SelectionList );

### Parameters

Parameter | Type | Description
--- | --- | ---
SelectionList | String | List of components. Default Value: n/a

### Examples

#### VBScript Example

    CreatePrim "Grid", "MeshSurface"

    ApplyTopoOp "DeleteComponent", "grid.poly[24-39]", siUnspecified, siPersistentOperation

    SelectAllConnectedComponents "grid.poly[11]"