IFCHybridImport.ImportElements Method

IFCHybridImportImportElements Method

Imports IFC Elements using AnyCAD.

Namespace: Autodesk.Revit.DB.IFC
Assembly: RevitAPIIFC (in RevitAPIIFC.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public IList<ElementId> ImportElements(
	Document doc,
	string file
)
Public Function ImportElements ( 
	doc As Document,
	file As String
) As IList(Of ElementId)
public:
IList<ElementId^>^ ImportElements(
	Document^ doc, 
	String^ file
)
member ImportElements : 
        doc : Document * 
        file : string -> IList<ElementId> 

Parameters

doc  Document
Document to receive elements from the IFC file import.
file  String
Full path of the file to import.

Return Value

IListElementId
Returns an array of ElementIds representing created elements.
Exceptions
ExceptionCondition
ArgumentNullException A non-optional argument was null
See Also