RVTDocs.com
Namespace: Autodesk.Revit.DB Class: WallSweepInfo

WallSweepInfo.MaterialId

Property
Description:
The element id of the material used to create the sweep or reveal.
Remarks:
This value is not used when creating standalone wall sweeps. The material id of the wall sweep's type is used instead.
Syntax
public ElementId MaterialId { get; set; }
Exceptions
Exception Condition
ArgumentNullException When setting this property: A non-optional argument was null