The hidecommand is used to make objects invisible. If no flags are used, the objects specified, or the active objects if none are specified, will be made invisible.
Long name (short name) | Argument Types | Properties | |
---|---|---|---|
allObjects (all) | bool | ||
|
|||
returnHidden (rh) | bool | ||
|
Derived from mel command maya.cmds.hide
Example:
import pymel.core as pm
pm.hide( all=True )
pm.hide( pm.ls( type='nurbsSurface' ) )