# fail to create vertical linear dimension

**URL:** <http://forum.qcad.org/t/fail-to-create-vertical-linear-dimension/6579>\
**Category:** dxflib Troubleshooting and Problems\
**Created:** [June 6, 2021, 4:46pm UTC](http://forum.qcad.org/t/fail-to-create-vertical-linear-dimension/6579 "2021-06-06T16:46:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![calvin](http://forum.qcad.org/letter_avatar_proxy/v4/letter/c/f475e1/32.png) [@calvin](http://forum.qcad.org/u/calvin)\
**Post date:** [June 6, 2021, 4:46pm UTC](http://forum.qcad.org/t/fail-to-create-vertical-linear-dimension/6579/1 "2021-06-06T16:46:16Z")

</div>

hi all,

I am struggling to creat vertical dimension on my DXF, everytime dxflib create the horizontal type for me.

# Can any one give me an example of create vertical type dimesnion? thanks DL\_DimensionData, the parameter type 0x0 is for (Rotated, horizontal, or vertical), but I always get horizontal dimension. how can i switch to vertical dimension?

# 0 Rotated, horizontal, or vertical 1 Aligned 2 Angular 3 Diametric 4 Radius 5 Angular 3-point 6 Ordinate 64 Ordinate type. This is a bit value (bit 7) used only with integer value 6. If set, ordinate is X-type; if not set, ordinate is Y-type 128 This is a bit value (bit 8) added to the other group 70 values if the dimension text has been positioned at a user-defined location rather than at the default location

---

<div class="post-metadata">

**Author:** ![andrew](http://forum.qcad.org/user_avatar/forum.qcad.org/andrew/32/15013_2.png) [@andrew](http://forum.qcad.org/u/andrew)\
**Post date:** [June 7, 2021, 6:00am UTC](http://forum.qcad.org/t/fail-to-create-vertical-linear-dimension/6579/2 "2021-06-07T06:00:48Z")

</div>

You might want to have a look at the QCAD sources for the dxflib based DXF exporter:

> <https://github.com/qcad/qcad/blob/master/src/io/dxf/RDxfExporter.cpp>
