pymel.core.general.hide

static general.hide(*args, **kwargs)

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.

Flags:
Long name (short name) Argument Types Properties
allObjects (all) bool ../../../_images/create.gif
 
make everything invisible (top level objects)
returnHidden (rh) bool ../../../_images/create.gif
 
hide objects, but also return list of hidden objects. Flag 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' ) )

Previous topic

pymel.core.general.hasAttr

Next topic

pymel.core.general.hilite

Core

Core Modules

Other Modules

This Page