Create a Tech Pack
Tech pack is what you generate as a technical package for production, including all colorways images, BOM, artwork placement, etc being used on the garment. Use the Teck Pack API to export a tech pack using a preset.
For more information about the feature, please visit here.
To learn more about creating a tech pack API, please visit here.
Exporting the Tech Pack
Code Snippet
The code snippet below shows how to export the tech pack for the current garment.
Python C++ C#
Python
garmentId = BwApi.GarmentId() # assuming that the presetName is an existing Tech pack preset BwApi.GarmentTechpackExport(garmentId, presetName, outputFolder)
C++
BwApiString* garmentId; BwApiGarmentId(garmentId); // assuming that the presetName is an existing Tech pack preset BwApiGarmentTechpackExport(garmentId, presetName, outputFolder)
C#
string garmentId; BwApi.GarmentId(out garmentId); // assuming that the presetName is an existing Tech pack preset BwApi.GarmentTechpackExport(garmentId, presetName, outputFolder);
Directory structure
VStitcher / Lotta Tech Pack export produces a directory with image assets and an index JSON file with the exported data and references to the image assets.
Tech Pack Schema
You can find the schema for output.json here