## SelectObjectsFromAction

### Introduced

v1.5

### Description

From the input clips or sources, extends the selection to select their components in the scene.

### Scripting Syntax

    oReturn = SelectObjectsFromAction( InputObj, [OnlyPoseOffset] );

### Return Value

Returns the objects added to the selection as an XSICollection.

### Parameters

Parameter | Type | Description
--- | --- | ---
InputObj | String | List of objects clips and/or sources Default Value: Current selection
OnlyPoseOffset | Boolean | Only select objects which are flagged for pose offsetting. Otherwise select all objects. This flag is only considered if a clip is selected (rather than a source Action). Default Value: False

### Examples

#### VBScript Example

    Set sel = GetValue("SelectionList")

    SelectObjectsFromAction sel

### See Also

AddToSelection