dxf's block's relative coordinate to absolute coordinate?

Aug 15, 2008 1 Replies

I'm trying to read dxf file by using dxflib

formatting link
to my c++ objects and try to write them back to the dwf files. but the lines,arcs inside the block has relative(local coordinates) so it doesn't get displayed well.



I tried following but doesn't work. the following are dxf file opened in notepad.



///////////////////////// //////////////////////////



BLOC KBLOCKBLOCKBLOCKBLOCK



5
62
330
4A
100 AcDbEntity
8
0
100 AcDbBlockBegin
2 CK_HATCH_0319
70
0
71
0
10

The co-ordinates in the block are relative to the insertion point of the block.

Bob

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required