API Reference > Classes > OdIfcFile Class > OdIfcFile Methods > OdIfcFile::createObject Method
OdIfcFile::createObject Method
Syntax
C++
static OdSmartPtr<OdIfcFile> createObject(OdIfcHostAppServices * svcs, OdDAI::RepositoryPtr repository);
Parameters 
Description 
OdIfcHostAppServices * svcs 
[in] A pointer to a host application services object.  
OdDAI::RepositoryPtr repository 
[in] A repository to associated the create file object with.  

A smart pointer to the created OdIfcFile object.

Creates a new instance of the OdIfcFile class.

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