Set generator
cavalry_set_generatorSet or replace a layer's generator type, e.g. circleDistribution for a Duplicator or ellipse for a Basic Shape, to change its procedural output.
Instructions
Swap the generator on a layer, e.g. set a Duplicator's "generator" to "circleDistribution" or a Basic Shape's to "ellipse".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Generator type id, e.g. "circleDistribution", "gridDistribution". | |
| attrId | No | Generator attribute. Defaults to "generator". | |
| layerId | Yes | Cavalry layer id, e.g. "basicShape#1". Use cavalry_list_layers to find ids. |