NamedView.camera Property

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

Description

Gets and sets the camera associated with this named view. This property acts as read-only for the four standard named views. This can be determined by checking to see if the isBuiltIn property is true.

Syntax

"namedView_var" is a variable referencing a NamedView object.

# Get the value of the property.
propertyValue = namedView_var.camera

# Set the value of the property.
namedView_var.camera = propertyValue
"namedView_var" is a variable referencing a NamedView object.
#include <Core/Application/NamedView.h>

// Get the value of the property.
Ptr<Camera> propertyValue = namedView_var->camera();

// Set the value of the property, where value_var is a Camera.
bool returnValue = namedView_var->camera(value_var);

Property Value

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

Version

Introduced in version September 2023