Creates and populates an IfcStyledItem for an IfcRepresentationItem with a IfcSurfaceStyle, IfcCurveStyle, and/or an IfcFillStyle,
and assigns them to the file.
Namespace: Autodesk.Revit.DB.IFC
Assembly: RevitAPIIFC (in RevitAPIIFC.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public IFCAnyHandle CreateStyle( ExporterIFC exporterIFC, IFCAnyHandle repItem )
Parameters
- exporterIFC ExporterIFC
- The exporter.
- repItem IFCAnyHandle
- The representation item.
Return Value
IFCAnyHandleThe handle.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |
