Snapshots.add Method

Parent Object: Snapshots
Defined in namespace "adsk::fusion" and the header file is <Fusion/Fusion/Snapshots.h>

Description

Creates a new snapshot. Creating a snapshot is only valid when the HasPendingTransforms property returns true.

Syntax

"snapshots_var" is a variable referencing a Snapshots object.
returnValue = snapshots_var.add()
"snapshots_var" is a variable referencing a Snapshots object.

#include <Fusion/Fusion/Snapshots.h>

returnValue = snapshots_var->add();

Return Value

Type Description
Snapshot Returns the newly created snapshot.

Version

Introduced in version August 2014