NCProgram.hasWarning Property

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

Description

Gets if problems 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.hasWarning
"nCProgram_var" is a variable referencing a NCProgram object.
#include <Cam/NCProgram/NCProgram.h>

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

Property Value

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

Version

Introduced in version April 2023