Python code to get the name of the current Reel Group

Howdy pythonics…

I’m trying to figure out how to get the name of the current Reel Group.Any ideas?



Hey Andy!

This should get you what you’re looking for:


1 Like


This will work if there is only one Reel Group in your Desktop though. If there are multiple Reel Groups this command will always return the name of the first one, not the current one.

There is a current_batch_group attribute at the PyDesktop level. You could submit an improvement to get the same for the Reel Groups.


Thanks, Fred. I’ll submit it!

Oh, current_reel_group does exist after all. It is under the PyWorkspace, not PyDesktop since the current Reel Group can be in a Library.

Note that this will return the Reel Group that has its icon highlighted in Yellow, not the one with set as visible in the Desktop Reels.


Thanks, Fred!

Worked like a charm!

Follow up question: Is there a way to get the name of the reel of a selected clip?

NVM…I figured it out. It’s the parent function. It’s like riding a bike!

1 Like