Table of Contents

Property Blocks

Namespace
OpenCAD2D.Remote
Assembly
OpenCAD2D.Remote.dll

Blocks

Gets the blocks of the drawing with their objects, sorted by name without regard to case, then by ordinal order, as the Block manager lists them: the blocks of the layouts (*Model_Space, *Paper_Space) and those AutoCAD names itself (*D1, *U1) are left out. An external reference attached and loaded brings the blocks of its drawing as AutoCAD lists them, grid|TAG for the block TAG of grid, each with IsDependent true and its objects the drawing's own. They are copies, asked of the app each time: changing one changes nothing in the app.

public IReadOnlyList<DxfBlockTableRecord> Blocks { get; }

Property Value

IReadOnlyList<DxfBlockTableRecord>

Exceptions

CadRemoteException

Thrown when the drawing is closed.