In the regular workflow with Ai files, when you add an Ai file to the artwork, all the content in the Ai file becomes a single artwork. When using the Multi-Layer Ai Custom Script, each layer in the Ai file becomes a separate artwork in VStitcher/Lotta.
To be able to add multiple artworks at once as separate artworks, you must first separate each section of the artwork that you would like to control, as its own layer in the Ai file. When using the script, each layer will be added as a separate artwork and, in this way, changes can be applied to a specific layer.
Note
The script is included in the VStitcher installation files. To use the script, you must locate it and copy the path to Preferences. If you prefer, you can request a copy of the script file from customer support.
To Use the Ai Custom Script
-
In VStitcher, open the Preferences dialog box.
-
Under Images &Colors, next to Ai Custom Script, you can enter the path to the multi_layer_sample_with_materials.jsx script file or browse to the file.
To locate the script file on your computer, follow the instructions below for a Windows or Mac machine:
For Windows
Copy the path that follows and paste it into the Ai Custom Script box. Make sure that the version number (in bold) in the path matches the VStitcher version you are using:
C:\ProgramFiles\Browzwear\VStitcher\2023.1\Resources\Illustrator\multi_layer_sample_with_materials.jsx
Or follow these steps:
-
Click Browse and navigate to the following folder: C:\Program Files\Browzwear\VStitcher\2023.1\Resources\Illustrator (Make sure that the version number (in bold) in the path matches the VStitcher version you are using.)
-
Select the multi_layer_sample_with_materials.jsx file.
For Mac
Copy the path that follows and paste it into the Ai Custom Script box. Make sure that the version number (in bold) in the path matches the VStitcher version you are using:
/Applications/Browzwear/VStitcher 2022.2.app/Contents/RootDir/Resources/Illustrator/multi_layer_sample_with_materials.jsx
Or follow these steps:
-
Open the Finder.
-
Select Main Menu> View> Show Path Bar to make sure you can view the path to the current working directory at the bottom of the Finder window.
-
Then, select Applications> Browzwear.
-
In the Browzwear folder, right click on VStitcher version you are using and select Show Package Contents.
-
In the window that appears, select Contents> RootDir> Resources> Illustrator.
-
In the Illustrator folder, select the multi_layer_sample_with_materials.jsx file. Take note that the file is also highlighted in the path at the bottom of the window.
-
Right click multi_layer_sample_with_materials.jsx in the path and select Copy ” multi_layer_sample_with_materials.jsx” as Pathname to copy the path to the .jsx file.
-
Paste the path into the Ai Custom Script box.
-
-
When using the Multi-Layer Ai Custom Script, we recommend that you also select the Use one master Ai file for all colorways checkbox. This feature maintains the vector behavior when the Ai artwork is cloned for a new colorway. If this option is not checked, the Ai artwork will lose vector behavior when cloned for a new colorway.
Note
When the Use one master Ai file for all colorways option is enabled, any changes made in the Ai file while editing in external software, will apply to all cloned materials of the artwork in the same colorway and all cloned colorways. For example, if a fill color is changed in Ai, that fill color will change in all cloned materials in the file. The following message will appear to remind you of this behavior.
-
Click OK to save the changes in the Preferences dialog box. Next time you add an Ai file with layers as a material, a message appears prompting you to select the imported Adobe Illustrator object type.
-
Select Each layer as a Separate Artwork. This option opens the file in Adobe Illustrator and converts and imports each layer of the file as a separate SVG file. This allows you to edit each layer separately when added as artwork and maintains the vector behavior.
-
Click OK to continue working on the artwork.
Comments
Please sign in to leave a comment.