## SelectAll

### Introduced

v1.0

### Description

Selects all objects.

### Scripting Syntax

    oReturn = SelectAll( [AffectSelectionList], [CheckObjectSelectability] );

### Return Value

If SelectFlag is False, returns XSICollection containing the objects.

### Parameters

Parameter | Type | Description
--- | --- | ---
AffectSelectionList | Boolean | True to select objects, False to return a list of objects. Default Value: True
CheckObjectSelectability | Boolean | Specifies whether to select objects that marked as unselectable. Default Value: False
Possible Values: | Description:
False | Select objects even if they are marked as unselectable.
True | Do not select objects if they are marked as unselectable.

### Examples

#### VBScript Example

    ' Select all objects
    SelectAll
    ' Get a list of all objects
    dim list
    set list = SelectAll( False )