The <design> element defines a design file to be used or edited. You can also:
- Apply a transform (for
placement, rotation, etc).
- Modify existing
lettering or monogram objects within the design (only with editDesign and editDesignTrueview).
XML structure
Attributes
Attribute | Type | Description |
file | String | Name of the EMB file. This file must be included in your <files> list. |
colorwaytype | String | Determines which colorway(s) TrueView will return:
- current (default): Current colorway only.
- all: All colorways — ignored by newDesignTrueview.
- specified: Use a specific colorway — name it with colorway.
|
colorway | String | Name of the colorway to use when colorwaytype='specified'. |
Child elements
Element | Description |
| Optional transform for the design. Ignored by designTrueview. |
| Use with editDesign or editDesignTrueview to modify existing lettering. |
| Use with editDesign or editDesignTrueview to modify existing monograms. |
Lettering and monogram changes:
- <lettering_objects> and <monogram_objects> are ignored when using newDesign or newDesignTrueview.
- They only work with editDesign and editDesignTrueview.
If colorwaytype=’specified’ and no colorway is
given:
- newDesignTrueview uses the current colorway.
- designTrueview returns an error.
- EWA design recipe
- EWA API methods overview
- EWA data packages overview