DESCENDANTS
Get info about all descendants of current object: children, and children of children, etc.
Syntax
=DESCENDANTS
Examples
In the following examples, the selected shape is a group with 6 shapes in it, with the following text and values
Text | Property 1 | Property 2 |
---|---|---|
Shape 1 | 1 | 10 |
Shape 2 | 4 | 18 |
Shape 3 | 2 | 13 |
Shape 4 | 6 | |
Shape 5 | 7 | 14 |
Group 6 | 8 |
"Group 6" is a group with 2 shapes in it, with the following text and values
Text | Property 1 | Property 2 |
---|---|---|
Shape 7 | 5 | 12 |
Shape 8 | 10 | 15 |
=DESCENDANTS
→ [Shape 1, Shape 2, Shape 3, Shape 4, Shape 5, Group 6, Shape 7, Shape 8]
Get all descendants of the current object
=DESCENDANTS."Property 1"
→ [1,4,2,6,7,8,5,10]
Gets all descendants' shape data property "Property 1"
Updated 10 months ago