Get Point of View Parameters

Retrieves the parameters (viewpoint, rotation, zoom settings, etc.) for a named view.

 

Input Arguments

 

0

View Name

View Name

The name of the view to examine.

 

Return Arguments

 

1

Double

Rotation (x)

The rotation of the viewpoint about the active frame’s X axis.

2

Double

Rotation (y)

The rotation of the viewpoint about the active

frame’s Y axis.

3

Double

Rotation (z)

The rotation of the viewpoint about the active frame’s Z axis.

4

Boolean

Restore Zoom Settings?

TRUE if zoom settings are saved with the view.

5

Double

Scale Factor

The zoom setting. Higher values are zoomed in more.

 

6

 

Double

 

Origin (x)

The horizontal point at which the view is centered, in screen coordinates, and defined from the center of the view. For example, higher X values shift the

viewpoint to the right.

 

7

 

Double

 

Origin (y)

The vertical point at which the view is centered, in screen coordinates, and defined from the center of the view. For example, higher Y value shift the viewpoint up.

8

Boolean

Restore Render Mode?

TRUE if the named view is set to recall the render-

ing mode with the view.

9

Render Mode Type

Rendering Mode

The render mode used when a rendering mode is saved with the view.

 

Returned Status

 

SUCCESS

The view parameters were retrieved successfully.

FAILURE

The named view was not found.

 

Remarks

Note that viewpoints are saved with the SA file.

The Origin parameters (A6 & A7) were converted to doubled in after 2017.08.11 to increase placement accuracy.