zl_ExplodeShapeLayers
Copyright (c) 2015 Zack Lovatt. All rights reserved.
zack@zacklovatt.com
 
Name: zl_ExplodeShapeLayers
Version: 3.0
 
Description:
This script looks at a selected shape layer and breaks apart all vector
groups & paths into separate layers. Alternatively, can merge them together.

Also, lots of other tools!

Functions:
	Explode - Explode a shape layer to individual layers
	Merge - Merge shape layers together to a new layer
	Convert - Convert Vector to Shape Layer
	Remove Artboards - Removes AI artboard artifact
	Select Fills - Select all fills in active comp
	Select Strokes - Select all strokes in active comp


Originally requested by Justin Younger (justinyounger.com)
Merge functionality requested by Navarro Parker (navarroparker.com)

This script is provided "as is," without warranty of any kind, expressed
or implied. In no event shall the author be held liable for any damages 
arising in any way from the use of this script.

--------------------------------------------------------------------------

Installation

Copy "zl_ExplodeShapeLayers.jsxbin" & "(zl_ExplodeShapeLayers_Resources)" to your ScriptUI Panels folder, probably found here:
PC:	C:\Program Files\Adobe\Adobe After Effects CC\Support Files\Scripts\ScriptUI Panels\
Mac:	\Applications\Adobe After Effects CC\Scripts\ScriptUI Panels\

If the ScriptUI Panels folder does not exist, create it.

--------------------------------------------------------------------------

--------------------------------------------------------------------------

Changelog:

3.0	- Now toolbar mode, with lots of extra functions
2.9	- Added 'merge together' functionality; with "use all" off, select specific shape layers and hit 'Merge' to merge them together to a separate shape layer
	- Merge now works with animated properties, and will merge layer effects
2.8	- Revised UI, options now save to disk
2.7	- Improved efficiency all around; some major functionality completely rewritten. Progress indicators have been added to easily see progress. Explode now works with multiple selected layers. Merge now works with parented layers. Fixed a major bug with merge resulting in an empty layer, another with shape filters & effects not being propagated (fill, stroke, trim paths), and some other, minor bugs.
2.6	- Fixed a bug triggered by shape groups with the same name.
2.5	- Can now choose to explode specified shape groups instead of all, exploded layers now take name of shape group, merged layer is created above topmost selected layer, UI & code revisions & efficiencies
2.0	- Added 'Merge' functionality, cleaned up code
1.1	- Fixed UI bug.
1.0	- Initial Release