NCProgram.hasError Property

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

Description

Gets if errors were encountered when generating the operation.

Syntax

"nCProgram_var" is a variable referencing a NCProgram object.

# Get the value of the property.
propertyValue = nCProgram_var.hasError
"nCProgram_var" is a variable referencing a NCProgram object.
#include <Cam/NCProgram/NCProgram.h>

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

Property Value

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

Version

Introduced in version April 2023