The lettering_objects element lets you modify existing lettering objects inside a design. Use it with editDesign or editDesignTrueview APIs. You can check if a design has lettering objects via designInfo or designTrueview .
XML structure
Usage
Each <lettering_object> targets one lettering object in the design:
index → the zero-based index of the lettering object to edit.You can change: Text ( text )Font ( alphabet_name )Height Bold setting Italic setting Thread color Multiple <lettering_object> edits can be done in one request.Only supplied parameters are
changed. For example, change just the text, or just the color, or both. The thread tag lets you change the lettering
color.
Examples
✅ Change the color of the first lettering object:
<lettering_objects>
<lettering_object
index="0">
<thread
color="32768" code="xx" brand="xx" description="xx"
/>
</lettering_object>
</lettering_objects>
✅ Change the text of the first lettering object:
<lettering_objects>
<lettering_object
index="0">
<simple_lettering
text="New Name"/>
</lettering_object>
</lettering_objects>
✅ Change text and alphabet of first object; text and color of second object:
<lettering_objects>
<lettering_object
index="0">
<simple_lettering
text="John" alphabet_name="Agatha"/>
</lettering_object>
<lettering_object
index="1">
<simple_lettering
text="Smith"/>
<thread
color="32768" code="xx" brand="xx" description="xx"
/>
</lettering_object>
</lettering_objects>
✔️ The font used
must be supported by EWA:
If you change alphabet_name ,
the new font must be valid.If you only change other
attributes, the original font must be valid.
✔️ Thread
colors:
If the color already exists in
the design’s palette, it’s reused. If not, the API adds it with
the supplied details. ✔️ Multiple
colorways:
If the design has more than
one, the edit only applies to the appointed colorway (if specified) or the current
one.
VIDEO