Sets a named attribute on the input List, computing one value per item via the value-producing input. That input is evaluated once per item, with the item's index and the item itself (as a List containing only that item, passed as a vararg) provided via context, so the upstream pipeline can return a different value per item that may be derived from the item's own data. If the attribute already exists, its values are replaced; if not, it's added. The value is type-erased into an AttributeValueDyn by an auto-inserted convert node, so this node only monomorphizes over T instead of the cartesian product (T, U).
Interface
Inputs
| Parameter | Details | Possible Types |
|---|---|---|
| Content | The Primary Input | List<Artboard>List<BlendMode>List<Color>List<DAffine2>List<GradientSpreadMethod>List<GradientStops>List<GradientType>List<Graphic>List<Raster>List<String>List<Vector>List<bool>List<f64> |
| Name | The attribute name (key) to write or replace. Default: | String |
| Value | The node that produces the attribute value for each item. Called once per item with the item's index in context. Exposed to the Graph by Default | AttributeValueDyn |
Outputs
| Product | Details | Possible Types |
|---|---|---|
| Result | The value produced by the node operation. Primary Output | List<Artboard>List<Graphic>List<Vector>List<Raster>List<Color>List<GradientStops>List<f64>List<bool>List<String>List<DAffine2>List<BlendMode>List<GradientType>List<GradientSpreadMethod> |