assign_fabric_to_pattern
Assign a fabric to a pattern piece by index, with options for current colorway, all colorways unlinked, or all colorways linked.
Instructions
Assign a fabric to a pattern piece.
Args: fabric_index: Zero-based index of the fabric. pattern_index: Zero-based index of the pattern piece. assign_option: 1=current colorway only, 2=all colorways (unlinked), 3=all colorways (linked).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fabric_index | Yes | ||
| assign_option | No | ||
| pattern_index | Yes |