The 2nd argument can be anything you want it to be.  Just has to be the name of 
a command.

Matt




From: softimage-boun...@listproc.autodesk.com 
[mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Alan Fregtman
Sent: Tuesday, May 21, 2013 2:38 PM
To: XSI Mailing List
Subject: How do I pass arguments in Menu.AddCommandItem()?

Hey guys,

Is it possible to pass arguments in the Menu.AddCommandItem() call?

Do I really have to register a whole new command just because there's a few 
variations of arguments on a generic command?

Any tips appreciated.
Cheers,

   -- Alan

Reply via email to