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

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   DirectDWG (http://www.dimcax.com/hust/forumdisplay.php?f=89)
-   -   【转帖】dwfimpor (http://www.dimcax.com/hust/showthread.php?t=15864)

yang686526 2009-05-05 07:57 AM

【转帖】dwfimpor
 
dwfimport
dwfimport
hello support,
i'm using dwgdirect1.13 library of purpose import attched dwf document. could you please take look at the attachment? i'm worry about performance of dwfimport method execution, it takes about 1.5~2 min with odamfc application. could you please let me know if there any optimizations steps on the client and library side possible? actually, native viewers take no more than 5~10 seconds to parse attached file.
reading forum information i've found that next 1.14 build of dwgdirect library, especially dwfimport() will be based on dwftoolkit7.0. my question if it will improve performance of dwfimport functionality and what else benefits we may expect?
thank you in advance!
vasyl.
attached files
in general cad objects created during conversion dwf to dwg are much more "heavier" than display primitives which are processed by dwf viewers.
and number of duplicated url increases from entity to entity.
dwf toolkit 7 is still in beta. for now we can't say which dwf toolkit version will be used in dd 1.14.
most likely dd 1.14 will have dwf import/export based on dwf tookit 6 and windows beta using dwf toolkit 7.
i don't think that moving to v7 will significantly increase performance. the main benefit would be support for 3d dwf.
sergey slezkin
hello sergey,
thank you very much for this information! could you please let me know how will be perfomance increased without duplicate url's? just on your mind please.
could you please let me know if any of more od products support direct dwf rasterization?
best regards,
vasyl.
quote:
originally posted by sergey slezkin
in general cad objects created during conversion dwf to dwg are much more "heavier" than display primitives which are processed by dwf viewers.
and number of duplicated url increases from entity to entity.
dwf toolkit 7 is still in beta. for now we can't say which dwf toolkit version will be used in dd 1.14.
most likely dd 1.14 will have dwf import/export based on dwf tookit 6 and windows beta using dwf toolkit 7.
i don't think that moving to v7 will significantly increase performance. the main benefit would be support for 3d dwf.
entity urls are stored as array of strings. as array grows while appending entries one by one memory is reallocated multiple times. surely several hundreds of urls attached to the same entity is not a usual situation.
currently oda has no direct dwf rasterization.
sergey slezkin


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