高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】problem with handles specification
problem with handles specification
problem with handles specification
hi,
i have been working in a java library for reading dwg files. the part for reading is finished but i'm having problems with the management of some dwg objects.
now i'm trying to obtain layer names from layer handles of the objects but i'm having problems with these layer handles.
i have found some documentation about this in the opendwg specification. if the layer handle code is 0x8, the layer handle will be the layer handle of
the objects that has a handle = reference handle - 1, and if the layer
handle code is 0xc, the layer handle will be the layer handle of the
object that has a handle = reference handle - layer handle. this
works, but when code is 0x4, there isn't any handle layer. the
specification don't tell anything about this case and i don't know how
to implement this.
any idea about this?
thanks in advance!
|