Get name of group bundle (pulldown, stack, ...)

Hello pyRevit friends :slight_smile:

I can get the name of a pushbutton with all kinds of methods:

script.get_bundle_name()
__commandbundle__
__commandname__

result:

Active.pushbutton
Active.pushbutton
Active

But how can I get the name of the group bundle (pulldown, stack, etc.) ?

Only thing i can get is the full path:

__commandpath__

X:\___.extension\___.tab\Print.panel\PDF.pulldown\Active.pushbutton