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