This command turns construction history on or off. In query mode, return type is based on queried flag.
Long name (short name) | Argument Types | Properties | |
---|---|---|---|
toggle (tgl) | bool | ![]() ![]() |
|
|
Derived from mel command maya.cmds.constructionHistory
Example:
import pymel.core as pm
import maya.cmds as cmds
pm.constructionHistory( tgl=True )
pm.constructionHistory( tgl=False )
# Returns true if construction history is on.
# Returns false if construction history is off.
pm.constructionHistory( q=True, tgl=True )
# Result: False #