CAM.allOperations Property

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

Description

Gets a collection containing all of the operations in the document. This includes all operations nested in folders and patterns.

Syntax

"cAM_var" is a variable referencing a CAM object.

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

// Get the value of the property.
Ptr<ObjectCollection> propertyValue = cAM_var->allOperations();

Property Value

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

Samples

Name Description
Generate Setup Sheets API Sample Demonstrates generating the setup sheets for an existing toolpath..
Generate Toolpaths API Sample Demonstrates generating the toolpaths in the active document.
Create CAM Operation From Template API Sample Demonstrates adding a new toolpath into the document using an existing CAM template. You can view the template here, although it will be loaded automatically. Run the sample script within any Fusion project containing at least one setup. A new facing operation will be created at the end of each setup discovered.

Version

Introduced in version January 2016