This is because dxflib seems to group together parsed Elements and only then call appropriate methods. So when i convert a dxf file and check which methods are called i get something like this:
Code: Select all
addBlock
endBlock
addBlock
endBlock
addBlock
endBlock
addBlock
endBlock
addBlock
endBlock
addBlock
endBlock
addText
addText
addText
addText
addText
addText
addText
addText
addText
addText
addText
addText
addText
addText
addText
addPolyline
endEntity
addPolyline
endEntity
addPolyline
endEntity
addPolyline
endEntity
addPolyline
endEntity
addPolyline
endEntity
addPolyline
endEntity
addPolyline
endEntity
addPolyline
endEntity
addPolyline
endEntity
Code: Select all
addBlock
addText
endBlock
addBlock
addPolyine
endEntity
endBlock
So if anyone got a suggestion how to solve this problem, it would be much appreciated.