HideByCategory Properties and Methods

The following variables and methods are accessible through the hideByCategory structure:

Properties:

hideByCategory.geometry 

Get/set whether Geometry objects are hidden. This includes Particle Systems but not Bones. Target Objects created using targetObject() but not assigned as lookAt target will also be affected by this category.

hideByCategory.shapes 

Get/set whether Shapes are hidden.

hideByCategory.lights 

Get/set whether Lights are hidden. Targets are of GeometryClass, but they will be hidden if used by a Light.

hideByCategory.cameras 

Get/set whether Cameras are hidden. Targets are of GeometryClass, but they will be hidden if used by a Camera.

hideByCategory.helpers 

Get/set whether Helpers are hidden. Targets are of GeometryClass, but they will be hidden if used by a Tape helper.

hideByCategory.spacewarps 

Get/set whether Space Warps are hidden.

hideByCategory.particles 

Get/set whether Particles are hidden. Particles are of GeometryClass, thus are being hidden by both this category and by the .geometry category. This includes all particle systems like Particle Flow and Legacy Particle Systems.

hideByCategory.bones 

Get/set whether bones are hidden.Bones are geometrySuperclass, but are NOT being affected by the Geometry category because it would be counter-productive during rigging sessions.

Methods:

hideByCategory.all() 

Set all Hide By Category categories as hidden.

hideByCategory.none() 

Set all Hide By Category categories as not hidden.