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

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
Reply to
wwinthan
Loading thread data ...

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

Bob

Reply to
<castlebravo242

PolyTech Forum website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.