GeneralPreferences.isCameraPivotEnabled Property

Parent Object: GeneralPreferences
Defined in namespace "adsk::core" and the header file is <Core/Application/GeneralPreferences.h>

Description

Gets and sets if zoom and orbit commands use camera pivot point for transition.

Syntax

"generalPreferences_var" is a variable referencing a GeneralPreferences object.

# Get the value of the property.
propertyValue = generalPreferences_var.isCameraPivotEnabled

# Set the value of the property.
generalPreferences_var.isCameraPivotEnabled = propertyValue
"generalPreferences_var" is a variable referencing a GeneralPreferences object.
#include <Core/Application/GeneralPreferences.h>

// Get the value of the property.
boolean propertyValue = generalPreferences_var->isCameraPivotEnabled();

// Set the value of the property, where value_var is a boolean.
bool returnValue = generalPreferences_var->isCameraPivotEnabled(value_var);

Property Value

This is a read/write property whose value is a boolean.

Version

Introduced in version August 2014