Extendscript - Adding a vector shape to a group.
I need help figuring out how to add the shape to a group. I need access to the group transforms so I can position each of the paths I am creating.
Here is an image of what I would like to achieve.
I figured out how to add the paths to the groups, but now I'm stuck on how to access the correct group.
I can't figure out where to put the name or index of the group I'm trying to access. The way the code is now the first group is the one being modified. Any help or direction would greatly be appreciated.