NCProgram.isProtected Property

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

Description

Gets and sets the "protected" property value of the operation. Gets/sets true if the operation is protected.

Syntax

"nCProgram_var" is a variable referencing a NCProgram object.

# Get the value of the property.
propertyValue = nCProgram_var.isProtected

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

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

// Set the value of the property, where value_var is a boolean.
bool returnValue = nCProgram_var->isProtected(value_var);

Property Value

This is a read/write property whose value is a boolean.

Version

Introduced in version April 2023