Objects

objects/layout

#include "dxfio/objects/layout.hpp"

In DxfIO::Objects

struct LayoutLAYOUT

A LAYOUT: the model space tab or a paper space sheet, with how it plots.

FieldType and defaultMeaning
BaseDxfIO::BaseThe handle, owner, reactors and extended data.
PlotBoxed<Objects::Plot>How the layout plots, as a PLOTSETTINGS gives it; kept on the heap, so every object stays small.
Namestd::stringThe name on the layout's tab, such as "Model" or "Layout1". Group 1.
Flagsint{1}Bits: 1 to scale linetypes by the viewport, as $PSLTSCALE; 2 to keep drawing within the limits, as $LIMCHECK. Group 70.
OrderintThe place of the tab among the layouts; 0 for model space. Group 71.
LimminVectorThe lower left limits. Groups 10, 20.
LimmaxVector{Limits}The upper right limits. Groups 11, 21.
InsbaseVectorThe base point blocks are inserted by. Groups 12, 22, 32.
ExtminVectorThe lower left corner of what is drawn. Groups 14, 24, 34.
ExtmaxVectorThe upper right corner of what is drawn. Groups 15, 25, 35.
AxesTables::AxesThe UCS of the layout.
BlockHandleThe BLOCK_RECORD of the layout's space. Group 330.
ViewportHandleThe viewport last active in the layout. Group 331.

Constants

LimitsVector = .X = 12, .Y = 9, .Z = 0The upper right limits of a new layout: 12 by 9.