Displays a dialog of available fonts for the user to select from. The name of the selected font is returned, or an empty string if no font was selected. When the FontListflag is used, no dialog is displayed. Instead the command returns an array of the available fonts.
Flags:
Long Name / Short Name | Argument Types | Properties | |
---|---|---|---|
FontList / fl | bool | ![]() |
|
|
|||
scalable / sc | bool | ![]() |
|
|
Derived from mel command maya.cmds.fontDialog
Example:
import pymel.core as pm
font = pm.fontDialog()
print font;
fonts = pm.fontDialog(FontList=True)
print fonts;