IFCFile.CreateStyle(ExporterIFC, IFCAnyHandle)
Method
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.
Parameters
| Parameter | Type | Description |
|---|---|---|
| exporterIFC | ExporterIFC | The exporter. |
| repItem | IFCAnyHandle | The representation item. |
Return Value
| Type | Description |
|---|---|
| IFCAnyHandle | The handle. |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |
| InvalidOperationException | A transaction is required for this operation. |