Using the Ai Custom Script
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.
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:
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:\Program Files\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.
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.
-
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.