Sketch.errorOrWarningMessage Property

Parent Object: Sketch
Defined in namespace "adsk::fusion" and the header file is <Fusion/Sketch/Sketch.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

"sketch_var" is a variable referencing a Sketch object.

# Get the value of the property.
propertyValue = sketch_var.errorOrWarningMessage
"sketch_var" is a variable referencing a Sketch object.
#include <Fusion/Sketch/Sketch.h>

// Get the value of the property.
string propertyValue = sketch_var->errorOrWarningMessage();

Property Value

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

Samples

Name Description
Sketch Point API Sample Demonstrates creating a new sketch point.

Version

Introduced in version July 2016