C++
ACDBCORE2D_PORT void setWorkingGlobals( AcDbGlobals* pGlobals );
Description
This method is used to set the globals object for the current document, and may not be overridden. If your RealDWG host application is supporting MDI, you may wish to associate each document with a set of AcDbGlobals by adding an AcDbGlobals* m_pGlobals member to your document class. Each time your document becomes the current document in your application, you would synchronize with the ObjectDBX working global set by calling this method with the new current document's m_pGlobals member as the argument. You can create a set of globals for a new document database with the createWorkingGlobals() method.
Parameters
Parameters | Description |
---|---|
pGlobals | Pointer to the document globals object for this database |