# Write dimension problem

**URL:** <http://forum.qcad.org/t/write-dimension-problem/3412>\
**Category:** dxflib 'How Do I' Questions\
**Created:** [August 16, 2017, 3:40am UTC](http://forum.qcad.org/t/write-dimension-problem/3412 "2017-08-16T03:40:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Banana](http://forum.qcad.org/letter_avatar_proxy/v4/letter/b/65b543/32.png) [@Banana](http://forum.qcad.org/u/Banana)\
**Post date:** [August 16, 2017, 3:40am UTC](http://forum.qcad.org/t/write-dimension-problem/3412/1 "2017-08-16T03:40:27Z")

</div>

Hi, I need to use dxflib to write a dimension into a dxf file. How can I get a aligned dimension in z direction like this ?

It’s just add dimension to a 3D solid , and I don’t how to do it use the function writeDimAligned or writeDimLinear.
