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 | ||
hide objects, but also return list of hidden objects.Flag can appear in Create mode of commandFlag can have multiple arguments, passed either as a tuple or a list. |
Derived from mel command maya.cmds.hide
Example:
import pymel.core as pm
pm.hide( all=True )
pm.hide( pm.ls( type='nurbsSurface' ) )