Hello,
I'm using this wonderful library to parse DXF-files and utilize geometry information in an other JAVA-project. In DXF group code 66 of an INSERT-Entity indicates a series of attribute entities (ATTRIB) is expected to follow the insert, terminated by a SEQEND entity.
In pursuance of http://kabeja.sourceforge.net/entities-status.html ATTRIB entity is parsed. So far I found no way to get attributes of an DXFInsert an I wonder if the feature named above is completely supported. If yes, please show me how to get this information.
Thanks,
Stefanie
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I tried to get it working with the latest version from SVN as you suggested, but the SVN developer version seems to be completely different than the library I use. Can you give me some short example, how to embed the latest version in my app, like found here for 0.4 version, please? http://kabeja.sourceforge.net/docs/devel/embedding.html
Thank you!
And maybe sorry for noobie questions. :-)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I'm using this wonderful library to parse DXF-files and utilize geometry information in an other JAVA-project. In DXF group code 66 of an INSERT-Entity indicates a series of attribute entities (ATTRIB) is expected to follow the insert, terminated by a SEQEND entity.
For example:
0
INSERT
5
413
100
AcDbEntity
8
NUTZARTPUNKTE
100
AcDbBlockReference
66
1
2
2
10
2568572.4279
20
5715990.8119
30
0.0
0
ATTRIB
5
415
100
AcDbEntity
8
NUTZARTPUNKTE
100
AcDbText
10
2568573.4279
20
5715994.8119
30
0.0
40
1.0
1
1
100
AcDbAttribute
2
Pkt_Nr_
70
0
0
SEQEND
5
416
100
AcDbEntity
8
NUTZARTPUNKTE
In pursuance of http://kabeja.sourceforge.net/entities-status.html ATTRIB entity is parsed. So far I found no way to get attributes of an DXFInsert an I wonder if the feature named above is completely supported. If yes, please show me how to get this information.
Thanks,
Stefanie
Hi Stefanie,
you should use the latest developer version from SVN, there you can use insert.getAttributeIterator()
or
insert.getAttribute(index).
Best Regards,
Simon
Hello,
I think I need to do exactly what you sugeested to Stefanie - call insert.getAttributeIterator() method to read text content of inserts. Unfortunately I use version 0.4. I also posted question about that here, if you care: http://stackoverflow.com/questions/16506503/kabeja-library-getting-text-description-from-dxfinsert
I tried to get it working with the latest version from SVN as you suggested, but the SVN developer version seems to be completely different than the library I use. Can you give me some short example, how to embed the latest version in my app, like found here for 0.4 version, please? http://kabeja.sourceforge.net/docs/devel/embedding.html
Thank you!
And maybe sorry for noobie questions. :-)
hi adam did u solved the problem??
I'm using Kabeja 0.4 too and it does not have the getAttributeIterator() methods...