libDXF 0.0.1
A library with DXF related functions written in C.
Data Fields

dxf_dimstyle_struct Struct Reference

DXF definition of an AutoCAD dimensioning style. More...

#include <dimstyle.h>

Collaboration diagram for dxf_dimstyle_struct:
Collaboration graph
[legend]

Data Fields

char * dimstyle_name
char * dimpost
char * dimapost
char * dimblk
char * dimblk1
char * dimblk2
double dimscale
double dimasz
double dimexo
double dimdli
double dimexe
double dimrnd
double dimdle
double dimtp
double dimtm
int flag
int dimtol
int dimlim
int dimtih
int dimtoh
int dimse1
int dimse2
int dimtad
int dimzin
int id_code
double dimtxt
double dimcen
double dimtsz
double dimaltf
double dimlfac
double dimtvp
double dimtfac
double dimgap
int dimalt
int dimaltd
int dimtofl
int dimsah
int dimtix
int dimsoxd
int dimclrd
int dimclre
int dimclrt
int dimunit
int dimdec
int dimtdec
int dimaltu
int dimalttd
int dimaunit
int dimjust
int dimsd1
int dimsd2
int dimtolj
int dimtzin
int dimaltz
int dimalttz
int dimfit
int dimupt
char * dimtxsty
struct DxfDimStylenext

Detailed Description

DXF definition of an AutoCAD dimensioning style.

Definition at line 57 of file dimstyle.h.


Field Documentation

Dimension style name.
Group code = 2.

Definition at line 61 of file dimstyle.h.

Referenced by dxf_dimstyle_get_dimstyle_name(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimstyle_name().

General dimensioning suffix.
Group code = 3.

Definition at line 64 of file dimstyle.h.

Referenced by dxf_dimstyle_get_dimpost(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimpost().

Alternate dimensioning suffix.
Group code = 4.

Definition at line 67 of file dimstyle.h.

Referenced by dxf_dimstyle_get_dimapost(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimapost().

Arrow block name, until R2000.
Group code = 5.

Definition at line 70 of file dimstyle.h.

Referenced by dxf_dimstyle_get_dimblk(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimblk().

First arrow block name, until R2000.
Group code = 6.

Definition at line 73 of file dimstyle.h.

Referenced by dxf_dimstyle_get_dimblk1(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimblk1().

Second arrow block name, until R2000.
Group code = 7.

Definition at line 76 of file dimstyle.h.

Referenced by dxf_dimstyle_get_dimblk2(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimblk2().

Overall dimensioning scale factor.
Group code = 40.

Definition at line 79 of file dimstyle.h.

Referenced by dxf_dimstyle_get_dimscale(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimscale().

Dimensioning arrow size.
Group code = 41.

Definition at line 82 of file dimstyle.h.

Referenced by dxf_dimstyle_get_dimasz(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimasz().

Extension line offset.
Group code = 42.

Definition at line 85 of file dimstyle.h.

Referenced by dxf_dimstyle_get_dimexo(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimexo().

Dimension line increment.
Group code = 43.

Definition at line 88 of file dimstyle.h.

Referenced by dxf_dimstyle_get_dimdli(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimdli().

Extension line extension.
Group code = 44.

Definition at line 91 of file dimstyle.h.

Referenced by dxf_dimstyle_get_dimexe(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimexe().

Rounding value for dimension distances.
Group code = 45.

Definition at line 94 of file dimstyle.h.

Referenced by dxf_dimstyle_get_dimrnd(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimrnd().

Dimension line extension.
Group code = 46.

Definition at line 97 of file dimstyle.h.

Referenced by dxf_dimstyle_get_dimdle(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimdle().

Plus tolerance.
Group code = 47.

Definition at line 100 of file dimstyle.h.

Referenced by dxf_dimstyle_get_dimtp(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimtp().

Minus tolerance.
Group code = 48.

Definition at line 103 of file dimstyle.h.

Referenced by dxf_dimstyle_get_dimtm(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimtm().

This flag is for the benefit of AutoCAD commands; it can be ignored by most programs that read DXF files, and need not be set by programs that write DXF files.
Bit coded:

  1. if set, table entry is externally dependent on an Xref.
  2. if this bit and bit 16 are both set, the externally dependent Xref has been successfully resolved.
  3. if set, the table entry was referenced by at least one entity in the drawing the last time the drawing was edited.

Group code = 70.

Definition at line 106 of file dimstyle.h.

Referenced by dxf_dimstyle_get_flag(), dxf_dimstyle_read(), and dxf_dimstyle_set_flag().

Dimension tolerances generated if nonzero.
Group code = 71.

Definition at line 122 of file dimstyle.h.

Referenced by dxf_dimstyle_get_dimtol(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimtol().

Dimension limits generated if nonzero.
Group code = 72.

Definition at line 125 of file dimstyle.h.

Referenced by dxf_dimstyle_get_dimlim(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimlim().

Text inside horizontal if nonzero.
Group code = 73.

Definition at line 128 of file dimstyle.h.

Referenced by dxf_dimstyle_get_dimtih(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimtih().

Text outside horizontal if nonzero.
Group code = 74.

Definition at line 131 of file dimstyle.h.

Referenced by dxf_dimstyle_get_dimtoh(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimtoh().

First extension line suppressed if nonzero.
Group code = 75.

Definition at line 134 of file dimstyle.h.

Referenced by dxf_dimstyle_get_dimse1(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimse1().

Second extension line suppressed if nonzero.
Group code = 76.

Definition at line 137 of file dimstyle.h.

Referenced by dxf_dimstyle_get_dimse2(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimse2().

Text above dimension line if nonzero.
Group code = 77.

Definition at line 140 of file dimstyle.h.

Referenced by dxf_dimstyle_get_dimtad(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimtad().

Zero suppression for "feet & inch" dimensions.
Group code = 78.

Definition at line 143 of file dimstyle.h.

Referenced by dxf_dimstyle_get_dimzin(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimzin().

Identification number for the entity.
This is to be an unique (sequential) number in the DXF file.
Group code = 105.

Definition at line 146 of file dimstyle.h.

Referenced by dxf_dimstyle_get_id_code(), dxf_dimstyle_read(), dxf_dimstyle_set_id_code(), dxf_dimstyle_write(), and dxf_donut_write().

Dimensioning text height.
Group code = 140.

Definition at line 151 of file dimstyle.h.

Referenced by dxf_dimstyle_get_dimtxt(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimtxt().

Size of center mark/lines.
Group code = 141.

Definition at line 154 of file dimstyle.h.

Referenced by dxf_dimstyle_get_dimcen(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimcen().

Dimensioning tick size: 0 = no ticks.
Group code = 142.

Definition at line 157 of file dimstyle.h.

Referenced by dxf_dimstyle_get_dimtsz(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimtsz().

Alternate unit scale factor.
Group code = 143.

Definition at line 160 of file dimstyle.h.

Referenced by dxf_dimstyle_get_dimaltf(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimaltf().

Linear measurements scale factor.
Group code = 144.

Definition at line 163 of file dimstyle.h.

Referenced by dxf_dimstyle_get_dimlfac(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimlfac().

Text vertical position.
Group code = 145.

Definition at line 166 of file dimstyle.h.

Referenced by dxf_dimstyle_get_dimtvp(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimtvp().

Dimension tolerance display scale factor.
Group code = 146.

Definition at line 169 of file dimstyle.h.

Referenced by dxf_dimstyle_get_dimtfac(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimtfac().

Dimension line gap.
Group code = 147.

Definition at line 172 of file dimstyle.h.

Referenced by dxf_dimstyle_get_dimgap(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimgap().

Alternate unit dimensioning performed if nonzero.
Group code = 170.

Definition at line 175 of file dimstyle.h.

Referenced by dxf_dimstyle_get_dimalt(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimalt().

Alternate unit decimal places.
Group code = 171.

Definition at line 178 of file dimstyle.h.

Referenced by dxf_dimstyle_get_dimaltd(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimaltd().

If text outside extensions, force line extensions between extensions if nonzero.
Group code = 172.

Definition at line 181 of file dimstyle.h.

Referenced by dxf_dimstyle_get_dimtofl(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimtofl().

Use separate arrow blocks if nonzero.
Group code = 173.

Definition at line 185 of file dimstyle.h.

Referenced by dxf_dimstyle_get_dimsah(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimsah().

Force text inside extensions if nonzero.
Group code = 174.

Definition at line 188 of file dimstyle.h.

Referenced by dxf_dimstyle_get_dimtix(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimtix().

Suppress outside-extensions dimension lines if nonzero.
Group code = 175.

Definition at line 191 of file dimstyle.h.

Referenced by dxf_dimstyle_get_dimsoxd(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimsoxd().

Dimension line color.
Group code = 176.

Definition at line 195 of file dimstyle.h.

Referenced by dxf_dimstyle_get_dimclrd(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimclrd().

Dimension extension line color.
Group code = 177.

Definition at line 198 of file dimstyle.h.

Referenced by dxf_dimstyle_get_dimclre(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimclre().

Dimension text color.
Group code = 178.

Definition at line 201 of file dimstyle.h.

Referenced by dxf_dimstyle_get_dimclrt(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimclrt().

Units format for all dimension style family members except angular:

  1. Scientific,
  2. Decimal,
  3. Engineering,
  4. Architectural.

Group code = 270.

Definition at line 204 of file dimstyle.h.

Referenced by dxf_dimstyle_get_dimunit(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimunit().

Number of decimal places for the tolerance values of a primary units dimension.
Group code = 271.

Definition at line 214 of file dimstyle.h.

Referenced by dxf_dimstyle_get_dimdec(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimdec().

Number of decimal places to display the tolerance values.
Group code = 272.

Definition at line 218 of file dimstyle.h.

Referenced by dxf_dimstyle_get_dimtdec(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimtdec().

Units format for alternate units of all dimension style family members except angular:

  1. Scientific,
  2. Decimal,
  3. Engineering,
  4. Architectural.

Group code = 273.

Definition at line 222 of file dimstyle.h.

Referenced by dxf_dimstyle_get_dimaltu(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimaltu().

Number of decimal places for tolerance values of an alternate units dimension.
Group code = 274.

Definition at line 232 of file dimstyle.h.

Referenced by dxf_dimstyle_get_dimalttd(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimalttd().

Angle format for angular dimensions:

  1. Decimal degrees,
  2. Degrees/minutes/seconds,
  3. Gradians,
  4. Radians,
  5. Surveyor's units.

Group code = 275.

Definition at line 236 of file dimstyle.h.

Referenced by dxf_dimstyle_get_dimaunit(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimaunit().

Horizontal dimension text position:

  1. above dimension line and center-justified between extension lines,
  2. above dimension line and next to first extension line,
  3. above dimension line and next to second extension line,
  4. above and center-justified to first extension line,
  5. above and center-justified to second extension line.

Group code = 280.

Definition at line 246 of file dimstyle.h.

Referenced by dxf_dimstyle_get_dimjust(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimjust().

Suppression of first extension line:

  1. not suppressed,
  2. suppressed.

Group code = 281.

Definition at line 261 of file dimstyle.h.

Referenced by dxf_dimstyle_get_dimsd1(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimsd1().

Suppression of second extension line:

  1. not suppressed,
  2. suppressed.

Group code = 282.

Definition at line 268 of file dimstyle.h.

Referenced by dxf_dimstyle_get_dimsd2(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimsd2().

Vertical justification for tolerance values:

  1. Top,
  2. Middle,
  3. Bottom.

Group code = 283.

Definition at line 275 of file dimstyle.h.

Referenced by dxf_dimstyle_get_dimtolj(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimtolj().

Suppression of zeros for tolerance values:

  1. not suppressed,
  2. suppressed.

Group code = 284.

Definition at line 283 of file dimstyle.h.

Referenced by dxf_dimstyle_get_dimtzin(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimtzin().

Toggles suppression of zeros for alternate unit dimension values:

  1. zeros not suppressed,
  2. zeros suppressed.

Group code = 285.

Definition at line 290 of file dimstyle.h.

Referenced by dxf_dimstyle_get_dimaltz(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimaltz().

Toggles suppression of zeros for tolerance values:

  1. zeros not suppressed,
  2. zeros suppressed.

Group code = 286.

Definition at line 298 of file dimstyle.h.

Referenced by dxf_dimstyle_get_dimalttz(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimalttz().

Placement of text and arrowheads; Possible values:
0 through 3 (see appendix A, "System Variables," in the AutoCAD Command Reference).
Group code = 287.

Definition at line 305 of file dimstyle.h.

Referenced by dxf_dimstyle_get_dimfit(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimfit().

Cursor functionality for user positioned text:

  1. controls only the dimension line location,
  2. controls the text position as well as the dimension line location.

Group code = 288.

Definition at line 310 of file dimstyle.h.

Referenced by dxf_dimstyle_get_dimupt(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimupt().

Dimension text style.
Group code = 340.

Definition at line 319 of file dimstyle.h.

Referenced by dxf_dimstyle_get_dimtxsty(), dxf_dimstyle_read(), and dxf_dimstyle_set_dimtxsty().

Pointer to the next DxfDimStyle.
NULL in the last DxfDimStyle.

Definition at line 321 of file dimstyle.h.

Referenced by dxf_dimstyle_free(), dxf_dimstyle_free_chain(), dxf_dimstyle_get_last(), dxf_dimstyle_get_next(), and dxf_dimstyle_set_next().


The documentation for this struct was generated from the following file: