Attributes: Write

Category description coming soon.

Nodes

NodeDetailsPossible Types
Attach Attribute

Sets a named attribute on the primary table, with each value taken from the corresponding item's element in the source table (paired by index, wrapping if the source has fewer items).

The source is type-erased into an AttributeColumnDyn by an auto-inserted convert node, so this node only monomorphizes over T instead of the cartesian product (T, U).

Table<Artboard> → Table<Artboard>
Table<Graphic> → Table<Graphic>
Table<Vector> → Table<Vector>
Table<Raster> → Table<Raster>
Table<Color> → Table<Color>
Table<GradientStops> → Table<GradientStops>
Table<f64> → Table<f64>
Table<bool> → Table<bool>
Table<String> → Table<String>
Table<DAffine2> → Table<DAffine2>
Table<BlendMode> → Table<BlendMode>
Table<GradientType> → Table<GradientType>
Table<GradientSpreadMethod> → Table<GradientSpreadMethod>
Write Attribute

Sets a named attribute on the input Table, 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 Table 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).

Table<Artboard> → Table<Artboard>
Table<Graphic> → Table<Graphic>
Table<Vector> → Table<Vector>
Table<Raster> → Table<Raster>
Table<Color> → Table<Color>
Table<GradientStops> → Table<GradientStops>
Table<f64> → Table<f64>
Table<bool> → Table<bool>
Table<String> → Table<String>
Table<DAffine2> → Table<DAffine2>
Table<BlendMode> → Table<BlendMode>
Table<GradientType> → Table<GradientType>
Table<GradientSpreadMethod> → Table<GradientSpreadMethod>