Forum: Poser Python Scripting


Subject: Calling menu action from python

papillon68 opened this issue on Sep 20, 2013 · 5 posts


papillon68 posted Fri, 20 September 2013 at 6:49 PM

I remember I did this long time ago but I don't recall anymore I'd you run a menu command (say for example Edit->Duplicate) from python. Thanks

visit my blog:  www.alessandromastronardi.com

My Rendo Store


papillon68 posted Sat, 21 September 2013 at 5:31 AM

Found it:

poser.ProcessCommand(commandNumber)

visit my blog:  www.alessandromastronardi.com

My Rendo Store


markschum posted Sat, 21 September 2013 at 10:55 PM

did you find what file the command list is in ?


papillon68 posted Sun, 22 September 2013 at 6:00 PM

Yes, the commands list is in:

Poser RuntimeuiPoser.xrc

visit my blog:  www.alessandromastronardi.com

My Rendo Store


markschum posted Sun, 22 September 2013 at 10:43 PM

ok, thanks.