UNSOLVED "Render Marked Takes" Command via Python?

I need to use a button (of a python script) for "Render Marked Takes to PV" take menu command instead of reaching it via menu>submenu interaction. But I could not find a way to run it via Python. Is it possible?

(In previous versions of C4D those were buttons actually. They moved them to menu I don't know why)

thank you


this is lacking a bit of context. But you can always use the script log to know how what is the ID you must use. The script log can be found in the extension menu.
But if you just need a button to run that, you can just drag and drop the command from the command manager to your UI.

if not c4d.modules.takesystem.IsTakeRenderRunning():


Hi Manuel,
Thank you for your help.