API Reference > Classes > OdGiContextForIfcDatabase Class > OdGiContextForIfcDatabase Methods > OdGiContextForIfcDatabase::openDrawable Method
OdGiContextForIfcDatabase::openDrawable Method
Syntax
C++
virtual OdGiDrawablePtr openDrawable(OdDbStub* drawableId);
Parameters 
Description 
OdDbStub* drawableId 
[in] An object's identifier of the drawable to be opened.  

Returns a smart pointer to the drawable object.

Opens for reading the specified drawable object that belongs to the database associated with the context object.

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