几何尺寸与公差论坛------致力于产品几何量公差标准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)
-   -   【转帖】import from dwf (http://www.dimcax.com/hust/showthread.php?t=16852)

yang686526 2009-05-06 03:43 PM

【转帖】import from dwf
 
import from dwf
import from dwf
hi
i've got a question about dwf import using the dwf7import library.
in the zip file there are 3 files:
original.dwg
exportfromdwg.dwf
importfromdwf.dxf
original.dwg contains a single mtext object. i exported this file to dwf using autocad lt 2008.
i then used the oddwfexportex program to import the dwf file into importfromdwf.dxf. i notice that as well as the original mtext entity
the text has also been rendered into polyline's.
when importfromdwf.dxf is viewed using odamfcapp the polyline entities are ignored though. when viewed in my application all the entities are drawn as they all appear in the oddbdatabase. by what mechanism is the vectorizer determining that the polyline's are not needed?
thanks
peter
attached files
acad exports invisible text along with vectorized one, to enable full text search work on dwf.
naturally, while importing we are not able to tell which text entity corresponds to which polylines, but text stays invisible, an is not being displayed by our vectorizer.
check oddbentity::visibility()
vladimir


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