Share

Material.SetMaterialAspectByPropertySet Method

Sets an aspect of the material to a shared property set.


Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)

Syntax

C#

public void SetMaterialAspectByPropertySet(
	MaterialAspect aspect,
	ElementId propertySetId
)

Parameters

aspect  MaterialAspect
The material aspect.
propertySetId  ElementId
Identifier of a shared property set (an instance of PropertySetElement).

Exceptions

ExceptionCondition
ArgumentNullException A non-optional argument was null
ArgumentOutOfRangeException A value passed for an enumeration argument is not a member of that enumeration

See Also

Reference

Was this information helpful?