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

yang686526 2009-05-07 06:33 PM

【转帖】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


所有的时间均为北京时间。 现在的时间是 12:21 AM.