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

Returns a smart pointer to the drawable object.

Opens for reading the specified drawable object belonging to the database associated with this context object. 

 

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