Is there a way to determine which layers and groups are associated via OSC?
Here's my use case... When you add a new layer in Resolume all existing layers change ID. Therefore in my code I'm grabbing the names for all layer ID's and groups using:
/composition/groups/${groupId}/name
/composition/layers/${layerId}/name
But I've realized I need to know which layers are in which groups. With the goal of creating variables to reference them like:
group1.layer1
I've noticed it's possible via the Rest API: /api/v1/composition/layergroups/1
Using OSC can I determine which layers are inside which groups?
-
- Posts: 25
- Joined: Tue Dec 27, 2022 10:45
-
- Posts: 25
- Joined: Tue Dec 27, 2022 10:45
Re: Using OSC can I determine which layers are inside which groups?
For anyone else looking for a solution using the Rest API instead of OSC I posted some javascript code here:
viewtopic.php?p=102083#p102083
viewtopic.php?p=102083#p102083