## ConvertSelection

### Introduced

v5.0

### Description

Converts the selection to another type by selecting adjacent components. If the selection is already the correct type then it is not changed.

### Scripting Syntax

    ConvertSelection( [InputObjs], [SelFilter] );

### Parameters

Parameter | Type | Description
--- | --- | ---
InputObjs | String | List of subcomponents. Default Value: Current selection.
SelFilter | FilterConstant | Selection filter that specifies what geometry type of neighbor elements to select. Default Value: Current selection filter.

### See Also

ConvertSelectionToPoints ConvertSelectionToEdges ConvertSelectionToPolygons