CreateFromCAMTemplateInput.mode Property

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

Description

Gets and sets the mode to be used for generation. Defaults to Skip Generation.

Syntax

"createFromCAMTemplateInput_var" is a variable referencing a CreateFromCAMTemplateInput object.

# Get the value of the property.
propertyValue = createFromCAMTemplateInput_var.mode

# Set the value of the property.
createFromCAMTemplateInput_var.mode = propertyValue
"createFromCAMTemplateInput_var" is a variable referencing a CreateFromCAMTemplateInput object.
#include <Cam/CAM/CreateFromCAMTemplateInput.h>

// Get the value of the property.
AutomaticGenerationModes propertyValue = createFromCAMTemplateInput_var->mode();

// Set the value of the property, where value_var is an AutomaticGenerationModes.
bool returnValue = createFromCAMTemplateInput_var->mode(value_var);

Property Value

This is a read/write property whose value is an AutomaticGenerationModes.

Version

Introduced in version October 2023