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 conversion process is successful; otherwise, the method returns an appropriate error code.

A pure virtual method that provides an interface for conversion from a .dwg drawing to an .ifc file.

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

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