IFCFile.CreateStyle
Description:
Creates and populates an IfcStyledItem for an IfcRepresentationItem with a IfcSurfaceStyle, IfcCurveStyle, and/or an IfcFillStyle, and assigns them to the file.
Creates and populates an IfcStyledItem for an IfcRepresentationItem with a IfcSurfaceStyle, IfcCurveStyle, and/or an IfcFillStyle, and assigns them to the file.
Overloads (2):
CreateStyle(ExporterIFC,IFCAnyHandle,Color,ElementId)
public IFCAnyHandle CreateStyle(
ExporterIFC exporterIFC,
IFCAnyHandle repItem,
Color color,
ElementId fillPatternId
)
-
exporterIFCThe exporter.
-
repItemThe representation item.
-
colorThe color.
-
fillPatternIdThe fill pattern id.
Return Value
The handle.
The handle.
-
A non-optional argument was null
-
A transaction is required for this operation.