Category
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| Dispose() | None | Causes the object to release immediately any resources it may be utilizing. (Inherited from APIObject .) | APIObject |
| Equals | None | (Inherited from Object .) | Object . |
| GetCategory(Document, BuiltInCategory) | Category | Retrieves a category object corresponding to a BuiltInCategory id. | |
| GetCategory(Document, ElementId) | Category | Retrieves a category object corresponding to the category id. | |
| GetGraphicsStyle(GraphicsStyleType) | GraphicsStyle | Gets the graphics style associated with this category for the given graphics style type. | |
| GetHashCode() | int | (Overrides Object . GetHashCode . .) | |
| GetLinePatternId(GraphicsStyleType) | ElementId | Gets the line pattern id associated with this category for the given graphics style type. | |
| GetLineWeight(GraphicsStyleType) | Nullable<int> | Retrieves the line weight assigned to the category for the given graphics style type. | |
| GetType | None | (Inherited from Object .) | Object . |
| IsBuiltInCategoryValid(BuiltInCategory) | bool | Checks if a Category exists for a given BuiltInCategory. | |
| SetLinePatternId(ElementId, GraphicsStyleType) | None | Sets the line pattern id associated with this category for the given graphics style type. | |
| SetLineWeight(Int32, GraphicsStyleType) | None | Sets the line weight for the given graphics style type. | |
| ToString | None | (Inherited from Object .) | Object . |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| AllowsBoundParameters | bool | To check if the category can have project parameters. | |
| AllowsVisibilityControl | bool | Whether the visibility can be controlled by the user for this category in this view. | |
| CanAddSubcategory | bool | Indicates if subcategories can be assigned to the category. | |
| CategoryType | CategoryType | Gets the category type of this category. | |
| HasMaterialQuantities | bool | Identifies if elements of the category are able to report what materials they contain in what quantities. | |
| Id | ElementId | Returns the category id associated with the category object. | |
| IsCuttable | bool | Indicates if the category is cuttable or not. | |
| IsReadOnly | bool | Identifies if the object is read-only or modifiable. (Inherited from APIObject .) | APIObject |
| IsTagCategory | bool | Identifies if the category is associated with a type of tag for a different category. | |
| IsVisibleInUI | bool | Identifies if the category is visible to the user and should be displayed in UI. | |
| LineColor | Color | The color of lines shown for elements of this category. | |
| Material | Material | Retrieves or changes the material of the category. | |
| Name | string | The category name. | |
| Parent | nullNothingnullptr | Returns the parent category of this category. | |
| SubCategories | CategoryNameMap | Returns a map containing all of the subcategories of this category. | |
| Visible | bool | Retrieves or changes the visibility of the category in the active view. |