CADAddBlocks adds an empty Block to a drawing.
| IO | Parameter | Type | Description
|
| in | theCADArea | longint | Area ID
|
| in | theBlockName | Str255 | Name of the new block, up to 255 characters long (need not be
unique)
|
| out | theNewBlockID | longint | See Block
|
| out | function result | OSErr | Error result code, also see Error handling
|
Remarks
Until you call CADAddInsert or CADAddInsertXY, blocks are not visible in
the drawing.
Related methods
CADRemoveBlock, CADGetBlocks, CADGetBlockKey,
CADSetBlockKey, CADGetBlockInfo, CADSetBlockName,
CADAddInsert and CADAddInsertXY.