OperationBase.isOptional Property

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

Description

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

Syntax

"operationBase_var" is a variable referencing an OperationBase object.

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

# Set the value of the property.
operationBase_var.isOptional = propertyValue
"operationBase_var" is a variable referencing an OperationBase object.
#include <Cam/Operations/OperationBase.h>

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

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

Property Value

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

Version

Introduced in version January 2016