MaterialId Property


Compound Structure Layer Material Id Property

Id of the material assigned to this layer.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public ElementId MaterialId { get; set; }

Property Value

ElementId
The default is InvalidElementId.
Exceptions
Exception Condition
ArgumentNullException When setting this property: A non-optional argument was null
See Also