Entities

entities/record

#include "dxfio/entities/record.hpp"

In DxfIO::Entities

struct Record

What every entity carries in its AcDbEntity subclass: its layer, linetype, color and the rest.

FieldType and defaultMeaning
BaseDxfIO::BaseThe handle, owner, reactors and extended data.
PaperboolWhether the entity lies in paper space rather than model space. Group 67.
LayerSymbol{"0"}The name of the layer the entity is on. Group 8.
LinetypeSymbol{"ByLayer"}The name of the linetype, or ByLayer or ByBlock. Group 6.
MaterialHandleThe material, or none to take the layer's. Group 347, from R2007.
Colorint{Colors::Bylayer}The AutoCAD Color Index: 1 to 255, 0 for ByBlock, 256 for ByLayer. Group 62.
Rgbstd::optional<int>The true color as 0xRRGGBB, when the entity has one. Group 420, from R2004.
Bookstd::optional<std::string>The color book and the color's name in it, joined by a $, when the color comes from one. Group 430, from R2004.
Transparencystd::optional<int>The transparency, when the entity has its own rather than its layer's. Group 440, from R2004.
Scaledouble{1}The scale of the linetype for this entity. Group 48, from R13.
HiddenboolWhether the entity is invisible. Group 60, from R13.
Lineweightint{Lineweights::Bylayer}The lineweight in hundredths of a millimeter, or -1 ByLayer, -2 ByBlock, -3 the default. Group 370, from R2000.
StyleHandleThe plot style, when the drawing names its plot styles. Group 390, from R2000.
ShadowintHow the entity takes part in shadows: 0 casts and receives, 1 casts, 2 receives, 3 neither. Group 284, from R2007.