Indicates the material id that should override the material for all components in the system.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public ElementId MaterialId { get; set; }
Property Value
ElementIdExceptions
Exception | Condition |
---|---|
ArgumentNullException | When setting this property: A non-optional argument was null |