几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量  


返回   几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 » 仿射空间:CAX软件开发(三)二次开发与程序设计 » CAD二次开发 » AutoCAD二次开发 » DirectDWG
用户名
密码
注册 帮助 会员 日历 银行 搜索 今日新帖 标记论坛为已读


 
 
主题工具 搜索本主题 显示模式
旧 2009-05-06, 10:42 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】problem exploding proxies

problem exploding proxies
problem exploding proxies
hi,
i use od?db?proxy?entity::explode to explode some proxy entities.
i got today an example that causes problems in my code.
the resulting entities return linetypeid()==nullid or linetype()==""
is this
a) the way of dd to tell me "use od?db?proxy?entity::linetype###
or
b) a bug in dd
or
c) does it mean something else
?
i use dd 1.12.04
dirk
to answer definitely i need to examine a sample file with entity causing the problem.
maybe the following takes place:
linetypes in proxy graphic data are specified by index in linetype table. if the index is invalid (table contains few records) the linetype is not set to the result of explode.
in such case dd probably should set linetype to some default.
sergey slezkin
example
here is the example
sorry i can not simplify the example, as i dont have a program that can handle ac2004 files.
you will have to exploda all proxies until you get an entity without linetype.
(some seem to be ok)
thanks dirk
attached files (761.0 kb, 19 views)

last edited by dirk demand; 16th february 2005 at 07:26 amfff">.
hi dirk,
why did you explode adt-objects ?
to destroy proxies is a heavy work, because only the application know something a the datastructure (spec. xrecord and xdata). if you explode or try to convert proxyelements to autocad-basicelements, you get many rubbish.
in you drawing are an old linetype "ausgezogen". this linetype was changed throught "continuous".
i think the linetype "wärmedämmung" get some problems. i import your drawing via "insert" in a new drawing (with autocad2005). before i can't drawing a prober line with "wärmedämmung".
i hope, that hints help.
________
ralph
quote:
originally posted by dirk demand
here is the example
sorry i can not simplify the example, as i dont have a program that can handle ac2004 files.
you will have to exploda all proxies until you get an entity without linetype.
(some seem to be ok)
thanks dirk
do you know handle of the proxy entity causing the problem? or some othe hint to find it?
sergey slezkin
quote:
originally posted by sergey slezkin
do you know handle of the proxy entity causing the problem? or some othe hint to find it?
it's the proxie with handle "867" member of block "glas"
i see that proxy entity (867) is exploded into a number of oddbpolyfacemesh objects. they have linetype continuous.
but their vertices (oddbpolyfacemeshvertex) have null linetype ids.
this is dd bug. i have not noticed it earlier because dwgoutfileds substitutes bylayer linetype for null ids.
so linetype bylayer is saved to file (and displayed in odamfcapp because odamfcapp calls dwgoutfields while filling screen data).
sergey slezkin
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)
 


主题工具 搜索本主题
搜索本主题:

高级搜索
显示模式

发帖规则
不可以发表新主题
不可以回复主题
不可以上传附件
不可以编辑您的帖子

vB 代码开启
[IMG]代码开启
HTML代码关闭

相似的主题
主题 主题发起者 论坛 回复 最后发表
【转帖】exploding entities recursively crashes yang686526 DirectDWG 0 2009-05-05 10:18 AM
【转帖】exploding block refs and maintaining layers yang686526 DirectDWG 0 2009-05-05 10:17 AM
【转帖】a problem of ordinate dimension when exploding yang686526 DirectDWG 0 2009-05-04 03:12 PM
【转帖】a ordinate dimension problem when exploding yang686526 DirectDWG 0 2009-05-04 03:08 PM
【转帖】a diameteric dimension problem when exploding yang686526 DirectDWG 0 2009-05-04 03:05 PM


所有的时间均为北京时间。 现在的时间是 03:07 AM.


于2004年创办,几何尺寸与公差论坛"致力于产品几何量公差标准GD&T | GPS研究/CAD设计/CAM加工/CMM测量"。免责声明:论坛严禁发布色情反动言论及有关违反国家法律法规内容!情节严重者提供其IP,并配合相关部门进行严厉查处,若內容有涉及侵权,请立即联系我们QQ:44671734。注:此论坛须管理员验证方可发帖。
沪ICP备06057009号-2
更多