The Category type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| Dispose | Causes the object to release immediately any resources it may be utilizing. (Inherited from APIObject.) | |
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
| GetBuiltInCategory | Gets the BuiltInCategory value corresponding to the given built-in category identifier. | |
| GetBuiltInCategoryTypeId | Gets the ForgeTypeId identifying the given built-in category. | |
| GetCategory(Document, BuiltInCategory) | Retrieves a category object corresponding to a BuiltInCategory id. | |
| GetCategory(Document, ElementId) | Retrieves a category object corresponding to the category id. | |
| GetGraphicsStyle | Gets the graphics style associated with this category for the given graphics style type. | |
| GetHashCode | (Overrides ObjectGetHashCode.) | |
| GetLinePatternId | Gets the line pattern id associated with this category for the given graphics style type. | |
| GetLineWeight | Retrieves the line weight assigned to the category for the given graphics style type. | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| IsBuiltInCategory | Checks whether a ForgeTypeId identifies a built-in category. | |
| IsBuiltInCategoryValid | Checks if a Category exists for a given BuiltInCategory. | |
| SetLinePatternId | Sets the line pattern id associated with this category for the given graphics style type. | |
| SetLineWeight | Sets the line weight for the given graphics style type. | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| AllowsBoundParameters | To check if the category can have project parameters. | |
| AllowsVisibilityControl | Whether the visibility can be controlled by the user for this category in this view. | |
| BuiltInCategory | Gets the BuiltInCategory value for this category. | |
| CanAddSubcategory | Indicates if subcategories can be assigned to the category. | |
| CategoryType | Gets the category type of this category. | |
| HasMaterialQuantities | Identifies if elements of the category are able to report what materials they contain in what quantities. | |
| Id | Returns the category id associated with the category object. | |
| IsCuttable | Indicates if the category is cuttable or not. | |
| IsReadOnly | Identifies if the object is read-only or modifiable. (Inherited from APIObject.) | |
| IsTagCategory | Identifies if the category is associated with a type of tag for a different category. | |
| IsValid | Indicates if the Category is valid or not. | |
| IsVisibleInUI | Identifies if the category is visible to the user and should be displayed in UI. | |
| LineColor | The color of lines shown for elements of this category. | |
| Material | Retrieves or changes the material of the category. | |
| Name | The category name. | |
| Parent | Returns the parent category of this category. | |
| SubCategories | Returns a map containing all of the subcategories of this category. | |
| Visible | Retrieves or changes the visibility of the category in the active view. |