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 | ![]() |
|
|
|||
invertComponents / ic | 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' ) )