CAMTemplateOperationInput.tool Property

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

Description

Optionally specify the tool used by the operation. The ToolLibraries allows the access to Local and Fusion tools.

Syntax

"cAMTemplateOperationInput_var" is a variable referencing a CAMTemplateOperationInput object.

# Get the value of the property.
propertyValue = cAMTemplateOperationInput_var.tool

# Set the value of the property.
cAMTemplateOperationInput_var.tool = propertyValue
"cAMTemplateOperationInput_var" is a variable referencing a CAMTemplateOperationInput object.
#include <Cam/CAMTemplate/CAMTemplateOperationInput.h>

// Get the value of the property.
Ptr<Tool> propertyValue = cAMTemplateOperationInput_var->tool();

// Set the value of the property, where value_var is a Tool.
bool returnValue = cAMTemplateOperationInput_var->tool(value_var);

Property Value

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

Version

Introduced in version March 2025