Revit 2025.3 API
IFCImport |
Enable or disable correcting lines that are slight off-axis.
Namespace: Autodesk.Revit.DB.IFC
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public bool AutocorrectOffAxisLines { get; set; }
Public Property AutocorrectOffAxisLines As Boolean Get Set
public: property bool AutocorrectOffAxisLines { bool get (); void set (bool value); }
member AutocorrectOffAxisLines : bool with get, set
Property Value
Boolean
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.
See Also