Table of Contents

Method GetBlockReferences

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

GetBlockReferences(bool)

Gets the INSERTs of the block, as AutoCAD's GetBlockReferenceIds gives their ids: every DxfBlockReference of it, a MINSERT among them, in model space, paper space and every block, in the order of the block table and then of each block.

public IReadOnlyList<DxfBlockReference> GetBlockReferences(bool directOnly)

Parameters

directOnly bool

Whether only the INSERTs of this block are given; false gives also those of every block that holds one of it, at any depth, as AutoCAD's does.

Returns

IReadOnlyList<DxfBlockReference>

The INSERTs; none for a block made in code.