API Reference > OdDb Classes > OdDbRasterVariables Class > OdDbRasterVariables Methods > OdDbRasterVariables::openRasterVariables Method
OdDbRasterVariables::openRasterVariables Method
Syntax
C++
static OdDbRasterVariablesPtr openRasterVariables(OdDbDatabase* pDb, OdDb::OpenMode openMode = OdDb::kForRead);
Parameters 
Description 
OdDbDatabase* pDb 
[in] Pointer to the database containg the RasterVariables object. 
OdDb::OpenMode openMode = OdDb::kForRead 
[in] Mode in which to open the RasterVariables object.  

Returns a SmartPointer to the RasterVariables object.

Opens the RasterVariables object in the specified database. Creates a RasterVariables object if one does not exist. 

 

Copyright © 2002–2020. Open Design Alliance. All rights reserved.