Operation.hasWarning Property

Parent Object: Operation
Defined in namespace "adsk::cam" and the header file is <Cam/Operations/Operation.h>

Description

Gets if problems were encountered when generating the operation.

Syntax

"operation_var" is a variable referencing an Operation object.

# Get the value of the property.
propertyValue = operation_var.hasWarning
"operation_var" is a variable referencing an Operation object.
#include <Cam/Operations/Operation.h>

// Get the value of the property.
boolean propertyValue = operation_var->hasWarning();

Property Value

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

Version

Introduced in version April 2023