pymel.core.general.toolHasOptions

toolHasOptions(*args, **kwargs)

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

Derived from mel command maya.cmds.toolHasOptions

Example:

import pymel.core as pm

import maya.cmds as cmds

if pm.toolHasOptions('moveSuperContext'):
        print 'moveSuperContext tool has options'

Previous topic

pymel.core.general.toolDropped

Next topic

pymel.core.general.toolPropertyWindow

Core

Core Modules

Other Modules

This Page