查看单个帖子
旧 2009-05-07, 12:39 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】readwrite dwg files too slow, mac ub

read/write dwg files too slow, mac ub
read/write dwg files too slow, mac ub
hi there,
i mentioned that readfile and writefile are too slow on both mac intel and mac ppc - 5+ mb dwg files take long long time to be read or written.
i built a sample xcode app on mac (default xcode project settings), using the original example code for reading dwgs (odreadex) and added the code for auditing and writing already read database to a new dwg. i linked to the next ub libs from the opendesign (dwgdirect 1.14.02):
dd_macub_acisbuilder
dd_macub_acisrenderer
dd_macub_alloc
dd_macub_br
dd_macub_ft
dd_macub_db
dd_macub_dynblocks
dd_macub_ge
dd_macub_gi
dd_macub_gs
dd_macub_modelergeometry
dd_macub_plotstyleservices
dd_macub_recomputedimblock
dd_macub_root
dd_macub_spatialindex
then i started my application and tried to read file stadium plan.dwg, which is from autocad 2004 sample folder and to write it back as a dwg version 2000 - it took ~ 6 min (macos 10.4.6, 1.66ghz intel core duo, 1gb) and more than a half of hour (macos 10.4.6, 800mhz powerpc g4, 512mb). and this does not seem to be a file-specific - other dwgs 5+ mb show the same behaviour.
does anyone else see this? or i am missing something...
any help is welcomed!
thanks
please see for some related info on this issue.

thank you, neil!
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)