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.IFCAssembly: RevitAPIIFC (in RevitAPIIFC.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public IFCAnyHandle CreateStyle(
ExporterIFC exporterIFC,
IFCAnyHandle repItem,
Color color,
ElementId fillPatternId
)
Parameters
- exporterIFC ExporterIFC
-
The exporter.
- repItem IFCAnyHandle
-
The representation item.
- color Color
-
The color.
- fillPatternId ElementId
-
The fill pattern id.
Return Value
IFCAnyHandle
The handle.
Exceptions
See Also
Reference