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

yang686526 2009-05-07 03:11 PM

【转帖】rotate The View Of A Viewpor
 
rotate the view of a viewport?
rotate the view of a viewport?
my modelspace contains a logical dataset in 2d. now i want to setup viewports on my layout to show different interesting areas. how can i rotate the view.
there is a setviewheight() method
there is a setviewcenter() method
why no
setviewrotation()?
where is settwistangle()
sergey slezkin
setviewcenter() and settwistangle()
when using setviewcenter(), i would expect the viewport to be "looking at" that position in modelspace. but this is not true if i use settwistangle().
the view is rotated, but not around the logical viewcenter given, rather it rotates around logical (0,0) which means that the viewcenter is changed by the rotation - is this a bug?


所有的时间均为北京时间。 现在的时间是 07:30 PM.