CamViewType Property

Gets or sets the camera view type (3D or 2D).

Syntax

object.CamViewType [= value]

Parameters

value
An enumerated graph type expression. Valid values are as described in the following table:

value View Type Description
0 View3D 3D View - Camera can be set to any (x,y,z) position
1 ViewXZ XZ Plane View - Fixed orthographic view of XZ Plane
2 ViewXY XY Plane View - Fixed orthographic view of XY Plane
3 ViewYZ YZ Plane View - Fixed orthographic view of YZ Plane

Remarks

The CamViewType property provides a convenient way to create a 2D graph view as opposed to setting the camera coordinates to achieve the same effect.

The following properties only have effect when the CamViewType is View3D: OrthographicProj, CamDistance, CamElevation, CamAzimuth, CamXPos, CamYPos, CamZPos, CamXCoi, CamYCoi, and CamZCoi.

See Also

OrthographicProj, CamDistance, CamElevation, CamAzimuth, CamXPos, CamYPos, CamZPos, CamXCoi, CamYCoi, CamZCoi, GraphType