## Preferences.Categories

### Description

Returns a ProjectItemCollection containing one ProjectItem for each category nested under the Preferences node.

### C# Syntax

    // get accessor

    Object Preferences.get_Categories();

    // set accessor

    Preferences.set_Categories( String pArrayVal );

### Examples

#### VBScript Example

    set oCategories = Application.Preferences.Categories

    For each oCat in oCategories

    Application.LogMessage "The Category " & oCat & " has " & oCat.Parameters.Count & " preferences item(s)"

    Next

    ' This script logs something similar to the following:

    ' INFO : The Category preferences.animation_editor has 11 preferences item(s)

    ' INFO : The Category preferences.animation_mixer has 31 preferences item(s)

    ' INFO : The Category preferences.dopesheet has 47 preferences item(s)

    ' INFO : The Category preferences.explorer has 9 preferences item(s)

    ' INFO : The Category preferences.fcurve_editor has 62 preferences item(s)

    ' INFO : The Category preferences.keying_panel has 4 preferences item(s)

    ' INFO : The Category preferences.layercontrol has 6 preferences item(s)

    ' INFO : The Category preferences.MaterialManager has 10 preferences item(s)

    ' INFO : The Category preferences.MaterialPanel has 8 preferences item(s)

    ' INFO : The Category preferences.icetree has 3 preferences item(s)

    ' INFO : The Category preferences.netview has 1 preferences item(s)

    ' INFO : The Category preferences.objectview has 11 preferences item(s)

    ' INFO : The Category preferences.preset_manager has 8 preferences item(s)

    ' INFO : The Category preferences.render_tree has 7 preferences item(s)

    ' INFO : The Category preferences.schematic has 12 preferences item(s)

    ' INFO : The Category preferences.scripteditor has 12 preferences item(s)

    ' INFO : The Category preferences.texture_layer_editor has 10 preferences item(s)

    ' INFO : The Category preferences.weighteditor has 7 preferences item(s)

    ' INFO : The Category preferences.xsi_explorer has 3 preferences item(s)

    ' INFO : The Category preferences.Cg_Display has 1 preferences item(s)

    ' INFO : The Category preferences.ICEOperators has 9 preferences item(s)

    ' INFO : The Category preferences.SINet has 3 preferences item(s)

    ' INFO : The Category preferences.duplicate has 19 preferences item(s)

    ' INFO : The Category preferences.transformgroup has 1 preferences item(s)

    ' INFO : The Category preferences.Camera has 21 preferences item(s)

    ' INFO : The Category preferences.Polygon has 2 preferences item(s)

    ' INFO : The Category preferences.Select has 11 preferences item(s)

    ' INFO : The Category preferences.SnapProperties has 32 preferences item(s)

    ' INFO : The Category preferences.SymmetryProperties has 4 preferences item(s)

    ' INFO : The Category preferences.TransformProperties has 40 preferences item(s)

    ' INFO : The Category preferences.Tweak has 3 preferences item(s)

    ' INFO : The Category preferences.animation has 15 preferences item(s)

    ' INFO : The Category preferences.shape_animation has 5 preferences item(s)

    ' INFO : The Category preferences.Compositing has 18 preferences item(s)

    ' INFO : The Category preferences.data_management has 30 preferences item(s)

    ' INFO : The Category preferences.plugin_manager has 8 preferences item(s)

    ' INFO : The Category preferences.Display has 38 preferences item(s)

    ' INFO : The Category preferences.General has 6 preferences item(s)

    ' INFO : The Category preferences.Interaction has 25 preferences item(s)

    ' INFO : The Category preferences.modeling has 4 preferences item(s)

    ' INFO : The Category preferences.output_format has 19 preferences item(s)

    ' INFO : The Category preferences.rendering has 48 preferences item(s)

    ' INFO : The Category preferences.shaderball has 6 preferences item(s)

    ' INFO : The Category preferences.Scenecolors has 27 preferences item(s)

    ' INFO : The Category preferences.scripting has 12 preferences item(s)

    ' INFO : The Category preferences.simulation has 9 preferences item(s)

    ' INFO : The Category preferences.time has 5 preferences item(s)

    ' INFO : The Category preferences.units has 5 preferences item(s)

### See Also

Preferences.GetPreferenceValue Preferences.SetPreferenceValue Preferences.Import Preferences.Export Preferences.RestoreDefault Preferences.SaveChanges UserPreference