Entities
entities/ insert
#include "dxfio/entities/insert.hpp"In DxfIO::Entities
struct InsertINSERT
An INSERT: a block placed in the drawing, scaled and turned, or a grid of it as MINSERT places it.
| Field | Type and default | Meaning |
|---|---|---|
Record | Entities::Record | The layer, linetype, color and the rest every entity carries. |
Follows | bool | Whether ATTRIB entities follow it in the file. Group 66. |
Block | Symbol | The name of the block. Group 2. |
Position | Vector | The insertion point, in the entity's own coordinate system. Groups 10, 20, 30. |
Scale | Vector{.X = 1, .Y = 1, .Z = 1} | The scale along each axis. Groups 41, 42, 43. |
Rotation | double | The rotation, in degrees. Group 50. |
Columns | std::optional<int> | The number of columns of the grid, when the block is placed as one. Group 70. |
Rows | std::optional<int> | The number of rows of the grid, when the block is placed as one. Group 71. |
Across | double | The spacing of the grid's columns. Group 44. |
Down | double | The spacing of the grid's rows. Group 45. |
Extrusion | Vector{Up} | The normal of the plane the entity is drawn in. Groups 210, 220, 230. |
Attributes | Sequence<Attrib> | The attributes that follow it in the file, closed by a SEQEND. |