Share

Camera.isFitView Property

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

Description

If this property is true, when this camera is applied to a viewport it will modify the camera such that the entire model is displayed in the viewport. When getting a camera from a viewport or creating a camera using Camera.create(), this property defaults to false.

Syntax

"camera_var" is a variable referencing a Camera object.

# Get the value of the property.
propertyValue = camera_var.isFitView

# Set the value of the property.
camera_var.isFitView = propertyValue

Property Value

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

Samples

Name Description
As-Built Joint Sample Demonstrates creating a new As-Built Joint.
Joint Origin Sample Demonstrates creating a new Joint Origin.
Rigid Group API Sample Demonstrates creating a new Rigid Group.

Version

Introduced in version August 2014

Was this information helpful?