## Duik.Tool

Miscellaneous tools

View Source DuAEF_Duik_api.jsxinc, line 54134

# Methods

#### # static cropPrecompositions(precompsopt)

Crops the precompositions without moving them, using the bounds of their masks

##### Parameters:

Name | Type | Attributes | Description
--- | --- | --- | ---
`precomps` | `Array.<QVLayer>` | `LayerCollection` | `DuList.<AVLayer>` | `AVLayer` | <optional> | The precompositions to crop. The selected layers by default.

View Source DuAEF_Duik_api.jsxinc, line 54146

#### # static editExpression(propopt) → {File}

Edits the selected expression using an external editor

##### Parameters:

Name | Type | Attributes | Description
--- | --- | --- | ---
`prop` | `Property` | `DuAEProperty` | <optional> | The propety containing the expression. The first selected property if omited.

View Source DuAEF_Duik_api.jsxinc, line 54236

Returns:
The file used to edit the expression.
Type: `File`