Category.Material Property
Retrieves or changes the material of the category.
Namespace:
Autodesk.Revit.DB
Assembly:
RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public Material Material { get; set; }
Property Value
Material
null
if this category does not have a material.
Exceptions
Exception
Condition
InvalidOperationException
When setting this property: material cannot be set for annotation categories.
See Also
Reference
Category Class
Autodesk.Revit.DB Namespace