SphereFeature.errorOrWarningMessage Property

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

"sphereFeature_var" is a variable referencing a SphereFeature object.

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

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

Property Value

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

Version

Introduced in version July 2016