高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】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
|