pymel.core.general.hide — PyMEL 1.0.7 documentation

pymel.core.general.hide

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)
invertComponents / ic bool ../../../_images/create.gif
 
Hide components which are not specified. Flag can have multiple arguments, passed either as a tuple or a list.
returnHidden / rh bool ../../../_images/create.gif
 
hide objects, but also return list of hidden objects.

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 Modules

Type Modules

Other Modules

This Page