2022 Members
Changes 8
M

Category

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