Class NwcIfcExportOptions
- Namespace
- NwcIO
- Assembly
- NwcIO.dll
Options controlling IFC (Industry Foundation Classes) export. Supports IFC2x3 Coordination View V2.0 and IFC4 (ISO 10303-21 STEP physical file format).
public sealed class NwcIfcExportOptionsInheritance
Inherited Members
Properties
Application
Application name for the STEP header (default: "NwcIO").
public string Application { get; set; }Property Value
Author
Author string for the STEP header and the owner history's IfcPerson (default: empty).
public string Author { get; set; }Property Value
BuildingName
Custom building name for IfcBuilding (default: "Default Building").
public string? BuildingName { get; set; }Property Value
ClipGeometryWithSectionPlanes
Whether to clip triangle geometry against active section planes/box (default: true).
public bool ClipGeometryWithSectionPlanes { get; set; }Property Value
ConvertMmToMetres
Convert millimetre source coordinates to metres when NwcIO.NwcIfcExportOptions.LengthUnit is Metre (default: true).
public bool ConvertMmToMetres { get; set; }Property Value
Default
Default export configuration.
public static NwcIfcExportOptions Default { get; }Property Value
ExportMaterials
Export surface materials and RGB colors as IfcSurfaceStyle / IfcStyledItem (default: true).
public bool ExportMaterials { get; set; }Property Value
ExportProperties
Export properties and metadata as IfcPropertySet and IfcPropertySingleValue (default: true).
public bool ExportProperties { get; set; }Property Value
ExportTypeObjects
Export type objects (IfcTypeProduct, e.g. IfcWallType) and link via IfcRelDefinesByType (default: true).
public bool ExportTypeObjects { get; set; }Property Value
LengthUnit
Length unit for coordinates in the IFC model (default: Millimetre).
public NwcIfcLengthUnit LengthUnit { get; set; }Property Value
Organization
Organization string for the STEP header (default: "NwcIO").
public string Organization { get; set; }Property Value
ProjectName
Custom project name for IfcProject (defaults to document or assembly name).
public string? ProjectName { get; set; }Property Value
Schema
IFC Schema version string: "IFC2X3" or "IFC4" (case-insensitive on set,
same validation as the CLI --ifc-schema). Any other value throws
System.ArgumentException instead of silently falling back to IFC2X3;
use NwcIO.NwcIfcExportOptions.SchemaVersion for the typed equivalent.
public string Schema { get; set; }Property Value
SchemaVersion
Target IFC schema version (default: Ifc2x3).
public NwcIfcSchemaVersion SchemaVersion { get; set; }Property Value
SectionBox
Optional 3D section box to crop exported IFC geometry.
public NwcSectionBox? SectionBox { get; set; }Property Value
SectionPlanes
Optional active clipping section planes to crop exported IFC geometry.
public IReadOnlyList<NwcSectionPlane>? SectionPlanes { get; set; }Property Value
SharedVertices
Share IfcCartesianPoint instances per mesh using mesh index triplets to minimize file size in IFC2x3 (default: true).
public bool SharedVertices { get; set; }Property Value
StoreyName
Custom storey name for IfcBuildingStorey (default: "Level 1").
public string? StoreyName { get; set; }Property Value
UseTessellationInIfc4
When targeting IFC4, use compact IfcTriangulatedFaceSet instead of heavy IfcFacetedBrep (default: true).
public bool UseTessellationInIfc4 { get; set; }Property Value
WorldCoordinates
Export geometry in world coordinates applying 3D transformations (default: true).
public bool WorldCoordinates { get; set; }