Message 1 of 1
PlotRotation problem

Not applicable
06-21-2007
11:00 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Can someone shed light on plot rotations, please? I'm trying to determine which way is "up" in the view when I am plotting. I was thinking that I could use AcGiViewport::getCameraUpVector(), but that doesn't always work when plotting.
In my drawing, I have the UCS set to World, with a Plan view, and no view twist. getCameraUpVector() returns (0,1,0)when I'm not plotting. When I do a Plot Preview, I get the CameraUpVector and PlotRotation values shown below:
Paper size: Letter
Orientation: Portrait
CameraUpVector: -1,0,0
PlotRotation: 90
Paper size: Letter
Orientation: Landscape
CameraUpVector: 0,1,0
PlotRotation: 90
For "Portrait" I can rotate the CameraUpVector by -PlotRotation, and I get (0,1,0), which is good. But that doesn't work with "Landscape". How does this stuff work?
Thanks for any help.
Mike
Message was edited by: Mike Riley
In my drawing, I have the UCS set to World, with a Plan view, and no view twist. getCameraUpVector() returns (0,1,0)when I'm not plotting. When I do a Plot Preview, I get the CameraUpVector and PlotRotation values shown below:
Paper size: Letter
Orientation: Portrait
CameraUpVector: -1,0,0
PlotRotation: 90
Paper size: Letter
Orientation: Landscape
CameraUpVector: 0,1,0
PlotRotation: 90
For "Portrait" I can rotate the CameraUpVector by -PlotRotation, and I get (0,1,0), which is good. But that doesn't work with "Landscape". How does this stuff work?
Thanks for any help.
Mike
Message was edited by: Mike Riley