Operation.hasError Property

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

Description

Gets if errors 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.hasError
"operation_var" is a variable referencing an Operation object.
#include <Cam/Operations/Operation.h>

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

Property Value

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

Version

Introduced in version April 2023