ForceImport Property


Force the IFC file to be imported regardless of an existing corresponding Revit file.

Namespace: Autodesk.Revit.DB.IFC
Assembly: RevitAPI (in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.0.0)
Since: 2015

Syntax

C#
public bool ForceImport { get; set; }
Visual Basic
Public Property ForceImport As Boolean
	Get
	Set
Visual C++
public:
property bool ForceImport {
	bool get ();
	void set (bool value);
}

Remarks

If this value is true (default), we will perform the import even if the existing corresponding Revit file is up-to-date. If this value is false, then we will re-use an existing RVT file if it is up-to-date. The intention is for ForceImport to be false during host file open while reloading links, and true during link reload via the Manage Links API.

See Also

ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →