Material.SetMaterialAspectByPropertySet
Description:
Sets an aspect of the material to a shared property set.
Sets an aspect of the material to a shared property set.
public void SetMaterialAspectByPropertySet(
MaterialAspect aspect,
ElementId propertySetId
)
-
aspectThe material aspect.
-
propertySetIdIdentifier of a shared property set (an instance of PropertySetElement).
-
A non-optional argument was null
-
A value passed for an enumeration argument is not a member of that enumeration