Go to: Synopsis. Return value. MEL examples.

Synopsis

toolHasOptions string

toolHasOptions is undoable, NOT queryable, and NOT editable.

This command queries a tool to see if it has options. If it does, it returns true. Otherwise it returns false.

Return value

boolean

MEL examples

if ( `toolHasOptions moveSuperContext`)
    print "moveSuperContext tool has options\n";