Go to: Synopsis. Return value. Related. Flags. MEL examples.

Synopsis

hide [-all] [-returnHidden] [object(s)]

hide is undoable, queryable, and editable.

The hide command 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.

Return value

None

In query mode, return type is based on queried flag.

Related

currentUnit, displayAffected, displayColor, displayCull, displayLevelOfDetail, displayPref, displayRGBColor, displaySmoothness, displayStats, displaySurface, refresh, showHidden, toggle

Flags

all, returnHidden
Long name (short name) argument types Properties
-all(-all)
make everything invisible (top level objects)
-returnHidden(-rh) create
hide objects, but also return list of hidden objects.

Flag can appear in Create mode of command Flag can appear in Edit mode of command
Flag can appear in Query mode of command Flag can be used more than once in a command

MEL examples

hide -all;
hide `ls -type nurbsSurface`;