help > Adjusting rotation of rendered view in mosaic (in script)
Showing 1-2 of 2 posts
Display:
Results per page:
Sep 28, 2022  04:09 PM | spinystellate
Adjusting rotation of rendered view in mosaic (in script)
Is there a way to rotate the rendering with the other views in a mosaic in a script?

When I run the following:
gl.mosaic("C -10, S 39; A 8, R 0")
and then manually select Multi-planar (A+C+S+R) and then re-enter the coordinates [-10, 39, 8], the rendered view is automatically rotated. I would like my script to do this without my manual intervention.
Sep 28, 2022  05:09 PM | Chris Rorden
RE: Adjusting rotation of rendered view in mosaic (in script)
The rendering uses the last specified orientation: Axial, Coronal or Sagittal. The polarity (-0 vs 0) rotates by 180 degrees:

```
C -10 S 39 A 8; A R 0 A R -0 C R 0 C R -0 S R 0 S R -0
```