TopographySurface.MaterialId Property

TopographySurfaceMaterialId Property

The id of the material applied to this element.

Namespace: Autodesk.Revit.DB.Architecture
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public ElementId MaterialId { get; set; }
Public Property MaterialId As ElementId
	Get
	Set
public:
property ElementId^ MaterialId {
	ElementId^ get ();
	void set (ElementId^ value);
}
member MaterialId : ElementId with get, set

Property Value

ElementId
Exceptions
ExceptionCondition
ArgumentException When setting this property: The materialId cannot map to a valid material element.
ArgumentNullException When setting this property: A non-optional argument was null
Remarks
This applies to TopographySurface and SiteSubRegion elements.
See Also