## CollapseLayers

### Introduced

v6.0

### Description

Plots the animation on the parameters that are driven by animation layers and then deletes the animation layers.

### Scripting Syntax

    CollapseLayers( Model, [PlottingType] );

### Parameters

Parameter | Type | Description
--- | --- | ---
Model | String | Model containing the animation layers. Default Value: Current model
PlottingType | siCollapseLayersPlottingType | The plotting type to use when collapsing animation layers. Default Value: siDefaultPlottingType