setAttr

Set any attribute for a given s7:elementID.

setAttr.elementID={ *[!DNL attributeName]*= *[!DNL attributeValue]*, *[!DNL attributeName]*= *[!DNL AttributeValue]*…}

If a FXG node element has a s7:elementID defined, you can manipulate the attributes for that node. You can set as many attribute/value pairs as you want. The attributes do not need to already be defined in the FXG but it must be valid for the node element. All values in between {} must be Escaped.

Example

Assume a s7:elementID="Group1" attribute is defined for a BitmapGraphic node, then the following is valid:

&setAttr.Group1={x=250%26y=170%26rotation=90%26scaleX=1%26scaleY=0.5}

This example sets the x, y, rotation, scaleX, and scaleY for the BitmapGraphic and overrides any existing values.

On this page

Adobe Summit Banner

A virtual event April 27-28.

Expand your skills and get inspired.

Register for free
Adobe Summit Banner

A virtual event April 27-28.

Expand your skills and get inspired.

Register for free
Adobe Maker Awards Banner

Time to shine!

Apply now for the 2021 Adobe Experience Maker Awards.

Apply now
Adobe Maker Awards Banner

Time to shine!

Apply now for the 2021 Adobe Experience Maker Awards.

Apply now