# Synopsis

PDX_MSGT dxcr_Dimension(long option, MDA_PTR orig_ptr, char *bname, char *dimstyle, double *xyzdef, double *xyzmdp, double *xyzcln, int dimtyp, int attachpt, int linespacingstyle, char *dimtxt, double *xyzdf1, double *xyzdf2, double *xyzdf3, double *xyzdf4, double ldrlen, double rotang, double hordir, double oblang, double txtang, double linespacingfactor, double actualmeasurement, MDA_PTR block, int dxf_model, MDA_PTR *dxf_ptr)

# Purpose

Create a DXF Dimension.

# Description

A DXF Dimension entity is created for the given data. The orig_ptr argument should contain the database pointer of the entity that the new entity was created from (usually this should be obtained by the calling routine via mda_GetOrigDbptr) or MDA_NULL_PTR. See the mda_intro man page for more information about predecessor entities.

# Input

## option

Options (not used)

## orig_ptr

The original entities orig_ptr as obtained from the mda_GetOrigDbptr call, or MDA_NULL_PTR

## bname

Block name

## dimstyle

Dimension style name

## xyzdef

Definition point

## xyzmdp

Middle point

## xyzcln

Clone point

## dimtyp

Dimension type

## attachpt

Attachment point

## linespacingstyle

Dim text line spacing style

## dimtxt

Text

## xyzdf1

Definition point #1

## xyzdf2

Definition point #2

## xyzdf3

Definition point #3

## xyzdf4

Definition point #4

## ldrlen

Leader length

## rotang

Rotation angle

## hordir

X-axis angle

## oblang

Obliquing angle

## txtang

Rotation angle of text

## linespacingfactor

Dimtext line spacing factor

## actualmeasurement

Actual measurement

## block

Entity pointer to the DXF dimension block

## dxf_model

DXF model number

# Output

## dxf_ptr

Entity pointer of the DXF Dimension

# Return

          DXCR_NOERR
          Low level error return
          .fi