Method GetBlocks
GetBlocks()
Gets the blocks of the drawing that an INSERT can place (layout blocks, anonymous blocks and external references left out), sorted by name without regard to case, then by ordinal order, with the entity count of each. Unlike Blocks, the entities of the definitions are not copied.
public IReadOnlyList<CadRemoteBlock> GetBlocks()
Returns
- IReadOnlyList<CadRemoteBlock>
The block summaries.
Exceptions
- CadRemoteException
Thrown when the drawing is closed.