查看单个帖子
旧 2009-05-05, 10:53 AM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】file reading problem

file reading problem
file reading problem
hi all
i am new to opendesign. i am involved in a project where i have to extract the contents of a dwg file. here i am using the vectorize approach.
here i created a file testdraw.dwg where i draw a circle and a line. later i used the odvectorizeex and odamfcapp to display go through the values of the objects(circle, line).
but in the odmfcapp threeview i got the points of the line and the circle i the path oddbdatabasedoc->acdbblocktable-><*modelspace>->acdbline, acdbcircle, and some 3d points as i input it in the file.
but in the vectorization example i got some different values other than the actual values in the file i specified.
why the difference is. i attached the file along with this message
attached files

in odamfcapp treeview you're seeing the model coordinates of acdblines and acdbarcs (or world coordinates for entities that are directly in model space).
vectorization framework returns coordinates that you ordered by odgibasevectorizer::seteyetooutputtransform() xform. by default, vectorization framework returns eye coordinates.
sincerely yours,
george udov
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)