I ran into this same problem a while back and had to resort to a workaround of 
comparing the incoming collection to the Selection's contents.  If they're the 
same, nothing was selected.

I did file a bug report/feature request to change this behavior a while back, 
but I don't think anything has been done about it yet.

Matt



From: softimage-boun...@listproc.autodesk.com 
[mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Stefano Jannuzzo
Sent: Friday, May 18, 2012 9:20 AM
To: softimage@listproc.autodesk.com
Subject: AddWithHandler without defaulting to selection

Hi.
I am trying to create a command getting a collection, so I use
args.AddWithHandler( L"arg", siArgHandlerCollection)),
but the argument always defaults to the Softimage selection if void.

So, I would like that upon running MyCommand(""), Soft would not push the 
selection (if any) in, but send me a void argument.
Any clue? Thanks. Stefano

Reply via email to