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.
Long name (short name) | Argument Types | Properties | |
---|---|---|---|
field (fld) | unicode | ||
|
|||
helpButton (hb) | unicode | ||
|
|||
icon (icn) | unicode | ||
|
|||
inMainWindow (imw) | bool | ||
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 | ||
|
|||
noviceMode (nm) | bool | ||
|
|||
resetButton (rb) | unicode | ||
|
|||
selectCommand (sel) | unicode | ||
|
|||
showCommand (shw) | unicode | ||
|
Derived from mel command maya.cmds.toolPropertyWindow
Example:
import pymel.core as pm
pm.toolPropertyWindow()
pictureObject = pm.toolPropertyWindow(q=True, icon=True)