AcMapDMDisplayManagement::GetGWS Function

Land Desktop Development ARX CPP SDK

AcMapDMDisplayManagement:: GetGWS Function
 

This function opens the GWS that the map refers to.

Acad::ErrorStatus GetGWS(
    IGWS** pGWS, 
    AcDbDatabase* pDb
);
File

DmDisplayManagement.h

Parameters 
Description 
pGWS 
Output opened IGWS.  
pDatabase 
Input database.  
Returns

Returns Acad::eOk if successful, Acad::eKeyNotFound if the dictionary entry with the file name does not exist otherwise, returns a different error code.

Remarks

If the GWS does not exist yet it will create it and assign it to the Map. Once it has been created the name of the XML file is stored in the dictionary; this function retrieves the name from the dictionary to nopen the GWS.

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].