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: 22.0.0.0 (22.1.0.0)
Since: 2018
Syntax
C# |
---|
|
Visual Basic |
---|
|
Visual C++ |
---|
|
Parameters
- aDoc
- Type: Autodesk.Revit.DB Document
The document that will contain the IFC link.
- fileName
- Type: System String
The original file name and path.
Return Value
The local file name and path corresponding to the input file name.Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions ArgumentException | Can't process file name. |
Autodesk.Revit.Exceptions ArgumentNullException | A non-optional argument was null |