This sets the material id that is to be associated with the element in the current export state.
Namespace: Autodesk.Revit.DB.IFCAssembly: RevitAPIIFC (in RevitAPIIFC.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public void SetMaterialIdForCurrentExportState(
ElementId elementId
)
Parameters
- elementId ElementId
-
The material id.
Exceptions
Remarks
Even though there could be several materials associated with the element (set during PushExportState()),
unless the element has support for IfcMaterialLayerSet, IFC output will include only this one.
See Also
Reference