Design.timeline Property

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

Description

Returns the timeline associated with this design.

Syntax

"design_var" is a variable referencing a Design object.
# Get the value of the property.
propertyValue = design_var.timeline
"design_var" Is a variable referencing a Design Object.
#include <Fusion/Fusion/Design.h>

// Get the value of the property.
Ptr<Timeline> propertyValue = design_var->timeline();
"design_var" Is a variable referencing a Design Object.
// Get the value of the property.
propertyValue = design_var.timeline;

Property Value

This is a read only property whose value is a Timeline.

Samples

Name Description
Extrude Feature API Sample

Demonstrates creating a new extrude feature.

Before running: No open document is required; the script creates a new design (or additional documents) as it runs.

The script uses the timeline (<code>rollTo</code>) to inspect feature history.

Fillet Feature Edit API Sample

Demonstrates editing a fillet feature.
To successfully run this sample you can use this file or create a new model with the described fillet feature.

  1. Create a new model and add a block feature.
  2. Create a single fillet feature that defines three different fillets. The fillets need to be created in a way where they don't interact with one another. The easiest way is to create the fillets only on the vertical edges of the box.
    1. Create a constant radius fillet with a radius that is about 1/4 the size of the box.
    2. Create a chord length fillet whose radius is also about 1/4 the size of the box.
    3. Create a variable radius fillet with one intermediate radius and the radii are about 1/4 the size of the box and less.
Running the sample script will modify various settings of each fillet and change the edge each fillet is applied to.

Ruled Surface Feature API Sample

Demonstrates creating a new ruled surface feature.

Before running: No open document is required; the script creates a new design (or additional documents) as it runs.

Create a User Coordinate System

Demonstrates the creation of a user coordinate system at the end of a selected sketch curve or edge.

Before running: Run from Scripts and Add-Ins. This sample may open dialogs or require interactive choices; keep Fusion in the foreground.

Version

Introduced in version August 2014