Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to read lines from Blocks in Kabeja?

Tags:

java

autocad

dxf

I am using Kabeja to read data from an DXF file. I can read all the Lines and Polylines without any issues. However, I am not able to find the Lines from a Block. I can find the Block along with the Insert entity that places the Block in the drawing. But my goal is to read the Lines that build a Block in the DXF file. Any help would be greatly appreciated.

like image 718
Doug Avatar asked Dec 13 '12 03:12

Doug


1 Answers

I don't know Kabeja, but this might help you:

The "insert" entity is a reference to the Block definition inside The Blocks section of the DXF (The BlockTable). So to find the lines inside a block definition You need to read The Definition of that block.

Link to DXF definiton

like image 180
Alain Avatar answered Sep 20 '22 16:09

Alain