Setup.isOptional Property

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

Description

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

Syntax

"setup_var" is a variable referencing a Setup object.

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

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

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

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

Property Value

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

Version

Introduced in version January 2016