## ConvertSelectionToPolygons

### Introduced

v5.0

### Description

Converts the selection to polygons by selecting adjacent polygons. If the selection is already polygons then it is not changed.

### Scripting Syntax

    ConvertSelectionToPolygons( [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: siPolygonFilter

### See Also

ConvertSelection ConvertSelectionToPoints ConvertSelectionToEdges