Class DxfBlock
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
A block of a DXF file as DxfReader read it: its name, its base point, its flags and its own entities in the block's own coordinates, as the INSERTs that place it found them.
public sealed class DxfBlock
- Inheritance
-
DxfBlock
- Inherited Members
Remarks
The entities are read as the drawing's are, with the same options, and an INSERT inside the block is placed within it, its entities carrying the names of the blocks they were placed through after this one in BlockPath. Nothing of the block is placed, layer 0 and BYBLOCK being kept as they are: a block of a bolt drawn on layer 0 about its own origin holds its circle about the origin on layer 0, wherever the drawing puts it.
Properties
- BasePoint
Gets the base point of the block (groups 10, 20, 30): the point of the block an INSERT puts at its insertion point, scaled to millimetres where ToMillimeters asks.
- Flags
Gets the flags of the block (group 70), as the DXF reference numbers them: 1 for a block AutoCAD names itself, 2 for one with attributes, 4 for an external reference, 8 for one overlaid, 16 for one that depends on an external reference, 32 for a reference resolved; 0 for an ordinary block.
- Name
Gets the name of the block (group 2) as its definition writes it, such as
BOLT_M20, or*U12for a block AutoCAD names itself.
- Shapes
Gets the shapes of the entities of the block in the order of the file, in the block's own coordinates.