AcMapMbMapBookManager:: GenerateMapBook Method
Generates new Map Book based on the settings supplied.
static Acad::ErrorStatus GenerateMapBook( AcDbObjectId& Id, AcDbDatabase* pDatabase, const ACHAR* pszName, const AcMapMbTileGeneratorSettings* pTileGeneratorSettings, const AcMapMbTileNameGeneratorSettings* pTileNameGeneratorSettings, const AcMapMbMapSheetLayoutSettings* pLayoutTemplateSettings, const ACHAR* pszSheetSetFileName, const ACHAR* pszSubsetName = NULL );
Parameters |
Description |
Id |
Output ID of the created Map Book object. |
pDatabase |
Input drawing database. |
pszName |
Input name of the map. |
pTileGeneratorSettings |
Input tile generator settings object. The user will create the correct settings object and set the appropriate values. It is never correct to use a base class settings object. |
pTileNameGeneratorSettings |
Input tile name generator settings object. The user will create the correct settings object and set the appropriate values. It is never correct to use a base class settings object. |
pLayoutTemplateSettings |
Input layout template settings object. The user will create the correct settings object and set the appropriate values. |
pszSheetSetFileName |
Input Sheet Set file name, if the file with this name does not exist, it will be created. If the file already exists it will be overwritten. |
pszSubsetName |
Input category name within the Map Sheet Set. The category name includes the full path where a slash "/"is used as a delimiter, for example: "Root/Nested_Subset/Map_Book_category". If this Sheet Set category already exists, it will be overwritten. |
Returns
Returns Acad::eOk if successful; otherwise, returns a different error code.
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].