查看单个帖子
旧 2009-05-05, 11:25 AM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】getting a poin

getting a point
getting a point
when i read in a dwg file with a point entity, the sample dbdumper class treats is as a generic entity. i do not see access functions for the position and name. what am i missing? is there a specific class for a point?
how do i get to the information for a point: position and name?
thanks,
bill

readex dumps point as generic entity because there aren't protocol extension defined for oddbpoint class.
there is specific class for point entity - oddbpoint. you can obtain location of point using oddbpoint:osition(). there is no name of point (or maybe i misunderstood something)
sincerely yours,
george udov
thanks
thanks george.
i know it must be a little frustrating working with those of us unfamiliar with dwg formats, but you're doing well.
your answer helped me get what i wanted and it made me understand stuff right under my nose. i just needed that little extra nudge.
good job.
bill
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)