fail to create vertical linear dimension

If you are having problems with dxflib, post here. Please report bugs here.

Moderator: andrew

Post Reply
Registered Member
Posts: 1
Joined: Sun Jun 06, 2021 5:34 pm

fail to create vertical linear dimension

Post by calvin » Sun Jun 06, 2021 5:46 pm

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

User avatar
Site Admin
Posts: 7742
Joined: Fri Mar 30, 2007 6:07 am

Re: fail to create vertical linear dimension

Post by andrew » Mon Jun 07, 2021 7:00 am

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

Post Reply

Return to “dxflib Troubleshooting and Problems”