Objects

objects/visualstyle

#include "dxfio/objects/visualstyle.hpp"

In DxfIO::Objects

struct VisualStyleVISUALSTYLE

A VISUALSTYLE: how faces, edges and lighting are shown in a view, such as 2D wireframe or realistic. Its properties change layout at R2010 and at R2013, so they are kept as groups.

FieldTypeMeaning
BaseDxfIO::BaseThe handle, owner, reactors and extended data.
Namestd::stringThe name of the style, such as "2dWireframe". Group 2.
KindintThe kind of style, such as 4 for 2D wireframe. Group 70.
Versionstd::optional<int>The version of the property layout, such as 2 in R2010 and 3 in R2018. Group 177, from R2010.
Internalstd::optional<bool>Whether the style is for AutoCAD's internal use only. Group 291, from R2010.
Propertiesstd::vector<DxfIO::Group>The properties that follow, as groups in the order they came.