OperationStrategy.createFromString Method

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

Description

Create an OperationStrategy for a given name.

Syntax

This is a static method.

returnValue = adsk.cam.OperationStrategy.createFromString(name)
This is a static method.

#include <Cam/Operations/OperationStrategy.h>

returnValue = adsk::cam::OperationStrategy::createFromString(name);

Return Value

Type Description
OperationStrategy Returns the OperationStrategy for given strategy name.

Parameters

Name Type Description
name string The name of the strategy. Throws an error if the strategy name is unknown.

Version

Introduced in version April 2023