Property IsDynamicBlock
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
IsDynamicBlock
Gets whether the INSERT places a dynamic block, as AutoCAD's IsDynamicBlock: its block is one (its extension
dictionary holds an evaluation graph, IsDynamicBlock), or is the anonymous block
that stands for one, whose extended data AcDbBlockRepBTag names the dynamic block's BLOCK_RECORD by its handle
(1005), as AutoCAD writes them and ezdxf reads them. An INSERT of a block of the extended data
AcDbDynamicBlockGUID and no graph is not, nor one of its anonymous copy, though it keeps its
DynamicBlockTableRecord and AnonymousBlockTableRecord, as AutoCAD 2021 read the INSERTs
of Bore, PVI, Station and Valve of its samples (plugin D26b). An anonymous block whose tag names no block of the
drawing is not, nor is an INSERT scaled unlike along its axes (by more than 1E-9 of the largest, a mirror alike), as AutoCAD 2021 read its INSERTs scaled
(2, 3, 2) and (2, 2, 1) as not dynamic though they keep their DynamicBlockTableRecord and their
DynamicBlockReferencePropertyCollection.
public bool IsDynamicBlock { get; }
Property Value
Remarks
DynamicBlockReferencePropertyCollection reads the dynamic properties as AutoCAD saved them; a linear, XY, point, rotation, flip, visibility or lookup property of a block of the actions the library writes, or of the stretches and moves AutoCAD's Block Editor writes besides, is set by Value, the others are not; ResetBlock() puts them all back to the block's own, and GetDynamicGrips() gives the custom grips that drive them. ConvertToStaticBlock(string) makes the INSERT place a plain copy of what it draws.