Home Search

DriveWorks Pro 21
Camera Default Orientation

Send Feedback

Camera Default Orientation

Sets the orientation of the initial view that is loaded of the model.

Property Type: Static

Default Value: No default value is applied to this property.

The values applied to the property are in the order:

Horizontal Rotation | Vertical Rotation | Zoom Distance | Camera Pan X | Camera Pan Y | Camera Pan Z

Hierarchical Reference: ControlName.DefaultRotationZoomValue

Properties

  • Horizontal Rotation

    Enter a number in degrees.

  • Vertical Rotation

    Enter a number in degrees.

  • Zoom Distance

    Enter a number. 0 will perform a Zoom To Fit on load.

  • Camera Pan X

    Enter a number. Units are in millimeters.

  • Camera Pan Y

    Enter a number. Units are in millimeters.

  • Camera Pan Z

    Enter a number. Units are in millimeters.

Not all properties are required. For example, you could enter 90|45|5 and only the first three properties would be set. The remaining properties would default to 0.

To Change the Default Value

Ensure the property is a static property (It will display the gray orb alongside the property name)

The default value of the static property can be changed by entering the required value into the property field.

  1. Click in the property for the control to be changed.
  2. Enter the required value into the property field.

Examples

Example rules both Static and Dynamic rules for the Default Rotation and Zoom property value.

RuleResult
90|45|50Will set the initial view to a Horizontal Rotation of 90, Vertical Rotation of 45 and a Zoom Distance of 50.

A rule can also be built for this property by changing the type to dynamic. See How To: Change A Static Property To A Dynamic Property.

RuleResult
IF(LengthReturn>100,"30|30|25","30|30|80")When the value coming from the control Length is greater than 100 the initial view will be set to a Horizontal Rotation of 30, Vertical Rotation of 30 and a Zoom Distance of 25. Otherwise 30|30|80 will be used.