Categories (SIObject)
Introduced
4.0
Description
Sets or returns the categories defined for this object. Categories are used to extend the categorization of objects. Categories of SPDL objects are initialized with the values of the Keyword field whereas the categories of custom objects (such as Filter and Command) can be set when plug-in items are registered with PluginRegistrar.
Categories are returned as as an Array of Strings. If no categories are specified, an empty array is returned.
Categories must be set in a comma-separated string. Use PluginRegistrar.Categories to set the categories for all plug-in items defined in a plug-in or use PluginItem.Categories to set the categories of a specific plug-in item. No other interfaces support the 'set' component of this property.
Note: For the deprecated (v1.0) style of creating commands, you can only set the categories by specifying one of the siCommandCategory enum values in the Category parameter of the XSIApplication.CreateCommand method.
C# Syntax
// get accessor Object SIObject.get_Categories(); // set accessor SIObject.set_Categories( String pArrayVal );
Examples
• See SIObject.Categories.1.vbs
• See SIObject.Categories.2.vbs
• See SIObject.Categories.3.js
Autodesk Softimage 2011