API Reference > DWG_IFC_IMPORT Namespace > Classes > OdIfcImport Class > OdIfcImport Methods > OdIfcImport::import Method
OdIfcImport::import Method
Syntax
C++
virtual ImportResult import() = 0;

The ImportResult::success value if the import process is successful; otherwise, the method returns an appropriate error code.

A pure virtual method that provides an interface for importing input .dwg drawing to an .ifc file.

Use the properties() method to set the import process options.

Copyright (c) 2002-2020. Open Design Alliance. All rights reserved.