Defines an individual symbol override.
Property | Type | Required |
---|---|---|
class | const | Required |
objectId | Array<string> | Required |
overrideName | string | Required |
overrideValue | Not specified | Required |
effectOnLayout | boolean | Optional |
Description
no description
Type
const
Value
constant: the value of this property must be equal to:
json"overrideValue"
Description
This array describes the overridden chain, where the last one is the object whose value shall be overridden.
For example: Suppose this array is [D456, 6516, FB09]. Suppose the current instance (of id XXXX) points to a symbol-master (of id C1CF), which contains a symbol-instance (of id D456). And this instance (of id D456) points to another symbol-master (of id 0739), which contains another symbol-instance (of id 6516). Recursively, this instance (of id 6516) points to yet another symbol-master (of id 59B5), which contains the final object (of id FB09).
So the current instance (of id XXXX) will override the value of the final object (of id FB09) according to overrideName
and overrideValue
.
Type
Array<string>
Description
Starting with the top-level property of the object, use . as a separator. If the property is an array, it contains the index of the array, starting at 0, and * is valid for all items. For example: style: override whole style style.fills: override the style.fills style.fills.0: override the first item of style.fills style.fills.0.color: override the color of the first style.fills style.fills.*.color: override the color of all items in style.fills
Type
string
Description
The value of the overridden attribute. The type depends on the concrete property. A special case: when overrideName end with 'style' and overrideValue conform to 'referenced_style_<id>', then use corresponding value in references(top level attr).
Type
Not specified