pymel.core.modeling.constructionHistory¶
- constructionHistory(*args, **kwargs)¶
This command turns construction history on or off. In query mode, return type is based on queried flag.
Flags:
Long Name / Short Name Argument Types Properties toggle / tgl bool Turns construction history on or off. Flag can have multiple arguments, passed either as a tuple or a list. Derived from mel command maya.cmds.constructionHistory
Example:
import pymel.core as pm 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 #