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

viewport parameters
viewport parameters
hi there,
i'm currently writing code to convert iges files to dwg, using dwgdirect just to do the writing. this is mostly fine, but i'm having problems with the view data. from the iges data i get a 3d view volume and a 3d transform from model to paper space and i need to turn this into the dwg equivalents. are there any calls in dwgdirect that can generate what i need (viewtarget, twist angle etc) from the data i have or will i need to write some code to do it myself?
thanks
jon
view-related classes (oddbviewport, oddbviewporttablerecord, oddbviewtablerecord, odgsview) have protocol extension abstractviewpe.
this protocol extension provides common interface for getting/setting view parameters for all these objects.
sergey slezkin
thanks sergey
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)