"generalPreferences_var" is a variable referencing a GeneralPreferences object.
# Get the value of the property. propertyValue = generalPreferences_var.defaultModelingOrientation
# Set the value of the property. generalPreferences_var.defaultModelingOrientation = propertyValue
"generalPreferences_var" is a variable referencing a GeneralPreferences object.
#include <Core/Application/GeneralPreferences.h>
// Get the value of the property. DefaultModelingOrientations propertyValue = generalPreferences_var->defaultModelingOrientation();
// Set the value of the property, where value_var is a DefaultModelingOrientations. bool returnValue = generalPreferences_var->defaultModelingOrientation(value_var);