Version 1.1.1
Supports Cavalry 2.6.0 and later.
Buy Now
This script contains various tools for working with Attributes and connections.

Swap Attribute Values - Swap attribute values, input connections, and animation curves between two selected Control Rows (attributes); or for Control Rows with multiple fields (e.g. Position X and Y, or Size W and H), swap the X and Y child attributes.
For example, you can select two animated attributes in the Scene Window to swap animations. Or, in the Attribute Editor, select the Deformers (or Filters) attributes on the two Layers to swap the lists between the Layers.
Control with Null’s Position - Create Nulls and connect the Null’s Positions to the selected attributes. Supported for the double2 and double3 attribute types. Hold Option/Alt to use the square shape, or hold Shift for the circle shape.
Control with Composition’s Time - Create and connect the Frame Behaviour to the selected attributes. Hold Option/Alt to connect the Composition’s Time directly.
Add the “Invert” Attribute Expression - For the selected attributes, add an attribute expression to invert the value. E.g. -value or 255 - value depending on the attribute type. Hold Option/Alt to also invert the values of selected attributes that do not have input connections.
Delete Animation and All Connections - Disconnect all input and output connections and delete animation for the selected attributes. Hold Option/Alt to delete all connections and animation for the selected Layers.
Delete Attribute Expressions - Delete all attribute expressions for the selected attributes. Hold Option/Alt to delete all attribute expressions for the selected Layers.
Copy Attribute Connections - Copy the input connections from the last selected attribute to all selected attributes of the same type. For lists such as Deformers or Filters, hold down the Shift key to add to existing connections rather than replace the list.
This option also allows you to copy keyframe animations.
Hold Option/Alt to Copy Attribute Reference (remember selected attribute as a reference).
Hold Option/Alt + Cmd/Ctrl to Connect Referenced Attribute (create connections from the reference attribute).
Swap X/Y Values:
Copy Attribute Reference:
Connect Referenced Attribute:
Copy Input Connections - Copy the input connections from the last selected Attribute to all selected Attributes of the same type. For lists such as Deformers or Filters, hold down the Shift key to add to existing connections rather than replace the list.
This option also allows you to copy keyframe animations.
Control with Null:
Control with Frame Behaviour:
Add Invert Expression:
Delete Animation:
Delete Attribute Expressions:
Find Layers with Equal Attribute - With the attribute or attributes selected in the Attribute Editor, this option will search all Layers in the active Composition, and select Layers that have the identical attributes and their values are equal to the selected ones. Hold down the Option/Alt key to select only Layers of the same type.
For example, you can find all Layers with the same stroke Width or Font Size.
Download the “Attribute Tools.zip” file. Unzip and drop the folder or individual script files into the Script folder.
Read the official documentation for details.
Added a button for the Copy Attribute Connections feature.
Shortcut scripts, for use with hotkeys.