Go to: Synopsis. Return value. MEL examples.
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.boolean | True if the queried tool has options, otherwise false. |
if ( `toolHasOptions moveSuperContext`) print "moveSuperContext tool has options\n";