A handy python wrapper I have around on my library, perhaps it's usefull
for you too :-)


def pywrap(cmd_name, **kwds):
    cmd = Application.Commands(cmd_name)
    if not cmd:
        Application.LogMessage(cmd_name + " doesnt found.", 4)
        return
    for arg in cmd.Arguments:
        value = kwds.get(arg.Name)
        if value:
            arg.Value = value
    cmd.Execute()

pywrap("Select Object", SelectionList="null")




On Wed, Jul 3, 2013 at 10:41 AM, Mihail Djurev <mihail.dju...@chaosgroup.com
> wrote:

>  Thanks Eric, that will do.
>
> Mihail
>

Reply via email to