Objects

objects/plot

#include "dxfio/objects/plot.hpp"

In DxfIO::Objects

struct Plot

What a layout or a page setup plots and how: the AcDbPlotSettings part both carry.

FieldType and defaultMeaning
Namestd::stringThe name of the page setup. Group 1.
Devicestd::stringThe printer or plot configuration file. Group 2.
Sizestd::stringThe paper size, as the device names it. Group 4.
Viewstd::stringThe view plotted when Type is 3. Group 6.
LeftdoubleThe unprintable margin on the left of the paper, in millimeters. Group 40.
BottomdoubleThe unprintable margin at the bottom, in millimeters. Group 41.
RightdoubleThe unprintable margin on the right, in millimeters. Group 42.
TopdoubleThe unprintable margin at the top, in millimeters. Group 43.
WidthdoubleThe width of the paper, in millimeters. Group 44.
HeightdoubleThe height of the paper, in millimeters. Group 45.
OriginVectorHow far the plot is moved from the paper's origin, in millimeters. Groups 46, 47.
LowerVectorThe lower left corner of the window plotted when Type is 4. Groups 48, 49.
UpperVectorThe upper right corner of the window plotted when Type is 4. Groups 140, 141.
Paperdouble{1}The paper units of a custom scale. Group 142.
Drawingdouble{1}The drawing units of a custom scale. Group 143.
Flagsint{Plotted}Bits: 1 viewport borders, 2 plot styles shown, 4 centered, 8 hidden, 16 standard scale, 32 plot styles, 64 lineweights scaled, 128 lineweights, 512 viewports first, 1024 model space. Group 70.
UnitsintThe units of the paper: 0 inches, 1 millimeters, 2 pixels. Group 72.
RotationintThe rotation of the plot: 0 none, 1 a quarter turn counterclockwise, 2 a half turn, 3 a quarter turn clockwise. Group 73.
Typeint{PlotLayout}What is plotted: 0 the last screen, 1 the extents, 2 the limits, 3 View, 4 the window from Lower to Upper, 5 the layout. Group 74.
Stylestd::stringThe plot style table, such as "acad.ctb". Group 7.
Standardint{Actual}The standard scale: 0 scaled to fit, 16 1:1, others for the scales AutoCAD lists. Group 75.
Factordouble{1}The standard scale as a number. Group 147.
ShadingintHow 3D views are shaded: 0 as displayed, 1 wireframe, 2 hidden, 3 rendered. Group 76, from R2004.
Resolutionint{Normal}The resolution of shaded plots: 0 draft, 1 preview, 2 normal, 3 presentation, 4 maximum, 5 custom. Group 77, from R2004.
Dotsint{Dpi}The dots per inch of shaded plots when Resolution is custom. Group 78, from R2004.
ImageVectorThe origin of the paper image. Groups 148, 149.

Constants

Plottedint = 688The plot flags of a new layout: 16 standard scale, 32 plot styles, 128 lineweights, 512 viewports first.
PlotLayoutint = 5The plot type that plots the layout itself, its own sheet: what a new layout plots.
Actualint = 16A standard scale: 1:1.
Normalint = 2A shade plot resolution: normal.
Dpiint = 300The shade plot resolution of a new layout, in dots per inch.