Go to: Synopsis. Return value. Flags. Python examples.
fontDialog([FontList=boolean])
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
fontDialog is undoable, NOT queryable, and NOT editable.
On Windows systems only, the command can be invoked with no flags; in this case it displays a font picking window, and returns the name of the font that the user picked. If the user picked no font, then an empty string is returned.| string |
| Long name (short name) | Argument types | Properties | ||
|---|---|---|---|---|
FontList(fl)
|
boolean
|
|
||
|
||||
import maya.cmds as cmds font = cmds.fontDialog() print font; fonts = cmds.fontDialog(FontList=True) print fonts;