NCProgram.error Property

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

Description

Returns a message corresponding to any active error associated with the value of this parameter.

Syntax

"nCProgram_var" is a variable referencing a NCProgram object.

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

// Get the value of the property.
string propertyValue = nCProgram_var->error();

Property Value

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

Version

Introduced in version April 2023