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

Material.SurfaceForegroundPatternId

Property
Description:
The id of the FillPatternElement used as the foreground pattern of faces with this material in normal views.
Remarks:
The FillPattern used for a surface foreground pattern can have a 'Drafting' or a 'Model' target.
Syntax
public ElementId SurfaceForegroundPatternId { get; set; }
Exceptions
Exception Condition
ArgumentException When setting this property: The element id must represent a valid FillPatternElement.
ArgumentNullException When setting this property: A non-optional argument was null