AcMapMbMapSheetTemplate:: GetBlockNames Method
Retrieves the list of block names defined within the specified Map Sheet template drawing.
static Acad::ErrorStatus GetBlockNames(
AcMapStringArray& aBlockNames,
const ACHAR* pszFileName
);|
Parameters |
Description |
|
aBlockNames |
Output array of block names defined within a drawing file. Anonymous blocks are filtered out from this list. |
|
pszFileName |
Input file name. The name should specify a complete path name with the .DWT or .DWG extension. This method validates if a file with the specified name exists. |
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].