AcDbBasicFilter:: SetBlocks Method
Sets the blocks on which to filter objects. See also Blocks().
Acad::ErrorStatus SetBlocks( const ACHAR* blockFilter );
Parameters |
Description |
blockFilter |
Input block name(s) in any of the following forms: A single block name ("Block1", for example)A list of comma-separated block names ("Block1,Block2", for example)A "*" to filter all blocks (this is the default setting)A "" (empty string) to ignore blocks during filteringA NULL to exclude blocks from the filtered setBlock names with wildcard characters ("Block?" or "Block-*", for example) |
Returns
Returns Acad::ErrorStatus eOk if successful. Returns Acad::ErrorStatus eInvalidInput if parameter validation failed. Returns Acad::ErrorStatus eInvalidInput if the block list cannot be obtained (applies only if blockFilter is "*")
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].