CAMFolder.isOptional Property

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

Description

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

Syntax

"cAMFolder_var" is a variable referencing a CAMFolder object.

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

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

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

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

Property Value

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

Version

Introduced in version January 2016