TimelineObject.errorOrWarningMessage Property

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

Description

Returns the error or warning message in the case where the healthState property returns either WarningFeatureHealthState or ErrorFeatureHealthState. Otherwise this property returns an empty string.

Syntax

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

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

Property Value

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

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.

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.

Version

Introduced in version July 2016