GenerateToolpathFuture.numberOfOperations Property

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

Description

Returns the number of operations that need to be generated.

Syntax

"generateToolpathFuture_var" is a variable referencing a GenerateToolpathFuture object.

# Get the value of the property.
propertyValue = generateToolpathFuture_var.numberOfOperations
"generateToolpathFuture_var" is a variable referencing a GenerateToolpathFuture object.
#include <Cam/CAM/GenerateToolpathFuture.h>

// Get the value of the property.
integer propertyValue = generateToolpathFuture_var->numberOfOperations();

Property Value

This is a read only property whose value is an integer.

Samples

Name Description
Generate Toolpaths API Sample Demonstrates generating the toolpaths in the active document.
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, a few operations, pick some tools from a Fusion sample tool library using loops and queries and ends up post-processing the operations out using an NC Program.

Version

Introduced in version January 2016