查看单个帖子
旧 2009-05-06, 03:43 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】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
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)