CopyPasteBody.errorOrWarningMessage Property

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

"copyPasteBody_var" is a variable referencing a CopyPasteBody object.

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

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

Property Value

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

Version

Introduced in version June 2017