查看单个帖子
旧 2009-05-06, 11:19 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】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!
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)