IFCImportOptions
IFC Import options.
Inheritance Hierarchy
System.Object
Autodesk.Revit.DB.IFC.IFCImportOptions
Namespace: Autodesk.Revit.DB.IFC
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class IFCImportOptions : IDisposable
The IFCImportOptions type exposes the following members.
Constructors
Name
Description
Public Method
IFCImportOptions
Constructs a new IFCImportOptions using default settings.
Properties
Name
Description
Public Property
Action
The action of the import.
Public Property
AutocorrectOffAxisLines
Enable or disable correcting lines that are slight off-axis.
Public Property
AutoJoin
Enable or disable auto-join at the end of import.
Public Property
CreateLinkInstanceOnly
Determines whether to create a linked symbol element or not.
Public Property
ForceImport
Force the IFC file to be imported regardless of an existing corresponding Revit file.
Public Property
Intent
The intent of the import.
Public Property
IsValidObject
Specifies whether the .NET object represents a valid Revit entity.
Public Property
RevitLinkFileName
The full path of the intermediate Revit file created during a previous link action. This is used during “Reload From” to determine the path to the previous generated Revit file.
Methods
Name
Description
Public Method
Dispose
Releases all resources used by the IFCImportOptions
Public Method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object)
Public Method
GetConversionData
Get the data used in the creation of the associated Revit file for an IFC link operation, if it exists.
Public Method
GetExtraOptions
Get the list of extra options to be passed into the importer. Each entry in the map is a pair of option name and value.
Public Method
GetHashCode
Serves as the default hash function.
(Inherited from Object)
Public Method
GetType
Gets the Type of the current instance.
(Inherited from Object)
Public Method
SetExtraOptions
Set the list of extra options to be passed into the importer. Each entry in the map is a pair of option name and value. Note that any value here will overwrite the other values in the IFCImportOptions, if it has the same name.
Public Method
ToString
Returns a string that represents the current object.
(Inherited from Object)