pymel.core.general.toolPropertyWindow

toolPropertyWindow(*args, **kwargs)

End users should only call this command as 1. a query (in the custom tool property sheet code) or 2. with no arguments to create the default tool property sheet. The more complex uses of it are internal. In query mode, return type is based on queried flag.

Flags:
  • field : fld (unicode) [query,edit]

    Sets/returns the name of the text field used to store the tool name in the property sheet.

  • helpButton : hb (unicode) [query,edit]

    Sets/returns the name of the button used to show help on the tool in the property sheet.

  • icon : icn (unicode) [query,edit]

    Sets/returns the name of the static picture object (used to display the tool icon in the property sheet).

  • inMainWindow : imw (bool) [create]

    Specify true if you want the tool settings to appear in the main window rather than a separate window. Flag can have multiple arguments, passed either as a tuple or a list.

  • location : loc (unicode) [query,edit]

    Sets/returns the location of the current tool property sheet, or an empty string if there is none.

  • noviceMode : nm (bool) [query,edit]

    Sets/returns the ‘novice mode’ flag.(unused at the moment)

  • resetButton : rb (unicode) [query,edit]

    Sets/returns the name of the button used to restore the tool settings in the property sheet.

  • selectCommand : sel (unicode) [query,edit]

    Sets/returns the property sheet’s select command.

  • showCommand : shw (unicode) [query,edit]

    Sets/returns the property sheet’s display command.

Derived from mel command maya.cmds.toolPropertyWindow

Previous topic

pymel.core.general.toolHasOptions

Next topic

pymel.core.general.transformCompare

Core

Core Modules

Other Modules

This Page