Share

ImporterIFCUtils.GetLocalFileName Method

Get the local file name, including the path, corresponding to a linked IFC file. This will create a local copy of the IFC file if necessary.


Namespace: Autodesk.Revit.DB.IFC
Assembly: RevitAPIIFC (in RevitAPIIFC.dll) Version: 25.3.0.0 (25.3.0.0)

Syntax

C#

public static string GetLocalFileName(
	Document aDoc,
	string fileName
)

Parameters

aDoc  Document
The document that will contain the IFC link.
fileName  String
The original file name and path.

Return Value

String
The local file name and path corresponding to the input file name.

Exceptions

ExceptionCondition
ArgumentException Can't process file name.
ArgumentNullException A non-optional argument was null

See Also

Reference

Was this information helpful?