Skip to content

IFCImportOptions.AutocorrectOffAxisLines

Public Property

Enable or disable correcting lines that are slight off-axis.

Namespace: Autodesk.Revit.DB.IFC

Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)

Syntax

public bool AutocorrectOffAxisLines { get; set; }

Property Value

Boolean

Remarks

Enabling correcting lines that are slightly off-axis will snap lines that are close to axes to the nearest axis. This will reduce warnings in Revit, but may cause elements that are created from sketches to slightly change shape, and extrusions to slightly change directions. Disabling this option will leave the original geometry intact but may cause warnings in Revit. Default is true for Open IFC; it is ignored (and false) for Link IFC.