API Reference > Dgn Extension Classes > ExDgCommandContext Class > ExDgCommandContext Methods > ExDgCommandContext::createObject Method
ExDgCommandContext::createObject Method
Syntax
C++
static OdDgCommandContextPtr createObject(OdEdBaseIO* pIOStream, OdDgDatabase* pDb);
Parameters 
Description 
OdDgDatabase* pDb 
[in] Pointer to the database. 
pStreamBuf 
[in] Pointer to the the stream buffer.  

Creates an instance of this CommandContext object.

Returns a SmartPointer to the newly created object.

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