TimelineObject.entity Property

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

Description

Returns the entity associated with this timeline object. Edit operations can be performed by getting the object representing the associated entity and using the methods and properties on that entity to make changes.

Returns null if this TimelineObject does not have a single public-API entity. This includes TimelineGroup rows (iterate the TimelineGroup's children instead, or use the TimelineGroup itself), and any entry whose feature type does not yet have a public API representation. Scripts that walk the timeline should null-check this property rather than relying on it to throw.

Syntax

"timelineObject_var" is a variable referencing a TimelineObject object.
# Get the value of the property.
propertyValue = timelineObject_var.entity
"timelineObject_var" Is a variable referencing a TimelineObject Object.
#include <Fusion/Fusion/TimelineObject.h>

// Get the value of the property.
Base propertyValue = timelineObject_var->entity();
"timelineObject_var" Is a variable referencing a TimelineObject Object.
// Get the value of the property.
propertyValue = timelineObject_var.entity;

Property Value

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

Version

Introduced in version August 2014