OperationStrategy.name Property

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

Description

Get the name of the strategy. This is equivalent to the Operation's strategy property. Use as strategy parameter when creating a OperationInput.

Syntax

"operationStrategy_var" is a variable referencing an OperationStrategy object.
# Get the value of the property.
propertyValue = operationStrategy_var.name
"operationStrategy_var" Is a variable referencing an OperationStrategy Object.
#include <Cam/Operations/OperationStrategy.h>

// Get the value of the property.
string propertyValue = operationStrategy_var->name();
"operationStrategy_var" Is a variable referencing an OperationStrategy Object.
// Get the value of the property.
propertyValue = operationStrategy_var.name;

Property Value

This is a read only property whose value is a string.

Samples

Name Description
Manufacturing Workflow API Sample

Manufacturing Workflow API Sample. This sample script starts by creating a simple component, which is then used to describe a milling workflow. It creates a setup and a few operations, picks tools from a Fusion sample tool library using loops and queries, and post-processes the operations using an NC program.

Version

Introduced in version April 2023