Operations.count Property

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

Description

The number of items in the collection.

Syntax

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

// Get the value of the property.
uinteger propertyValue = operations_var->count();
"operations_var" Is a variable referencing an Operations Object.
// Get the value of the property.
propertyValue = operations_var.count;

Property Value

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

Samples

Name Description
Generate Toolpaths API Sample

Demonstrates generating the toolpaths in the active document.

Before running: Run from Scripts and Add-Ins. This sample may open dialogs or require interactive choices; keep Fusion in the foreground. Use a design with CAM data as required by the script. Many CAM samples switch to the MANUFACTURE workspace and may need an existing setup or manufacturing model.

Version

Introduced in version January 2016