查看单个帖子
旧 2009-05-07, 03:11 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】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?
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)