Method GetDependentBlocks
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
GetDependentBlocks()
Gets the blocks the external references that are loaded bring into the drawing, as AutoCAD lists them in its block
table while they are: grid|TAG for the block TAG of the drawing grid, each a copy with its objects, in
the order of their names. A reference unloaded, not found or not read brings none; AutoCAD writes none of them to a
DXF or a DWG, and the drawing's own BlockTable holds none (IsDependent
is true of each). They are not to be inserted or changed: changing a copy changes nothing.
public IReadOnlyList<DxfBlockTableRecord> GetDependentBlocks()
Returns
- IReadOnlyList<DxfBlockTableRecord>
The blocks.
Remarks
A drawing of the reference grid with the blocks TAG and PLAN gives grid|PLAN and grid|TAG, each
flagged 48; the objects are the drawing's own, naming their layers and blocks as that drawing does (a line of TAG on
WALL is on WALL, not on grid|WALL).