CAMHoleRecognition.isOptional Property

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

Description

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

Syntax

"cAMHoleRecognition_var" is a variable referencing a CAMHoleRecognition object.

# Get the value of the property.
propertyValue = cAMHoleRecognition_var.isOptional

# Set the value of the property.
cAMHoleRecognition_var.isOptional = propertyValue
"cAMHoleRecognition_var" is a variable referencing a CAMHoleRecognition object.
#include <Cam/CAM/CAMHoleRecognition.h>

// Get the value of the property.
boolean propertyValue = cAMHoleRecognition_var->isOptional();

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

Property Value

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

Version

Introduced in version April 2023