CAM.generateAllSetupSheets Method

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

Description

Generates all of the setup sheets for all of the operations in the document

Syntax

"cAM_var" is a variable referencing a CAM object.

# Uses no optional arguments.
returnValue = cAM_var.generateAllSetupSheets(format, folder)

# Uses optional arguments.
returnValue = cAM_var.generateAllSetupSheets(format, folder, openDocument)
"cAM_var" is a variable referencing a CAM object.

#include <Cam/CAM/CAM.h>

// Uses no optional arguments.
returnValue = cAM_var->generateAllSetupSheets(format, folder);

// Uses optional arguments.
returnValue = cAM_var->generateAllSetupSheets(format, folder, openDocument);
"cAM_var" is a variable referencing a CAM object.

// Uses no optional arguments.
returnValue = cAM_var.generateAllSetupSheets(format, folder);

// Uses Optional arguments.
returnValue = cAM_var.generateAllSetupSheets(format, folder, openDocument);

Return Value

Type Description
boolean Returns true if successful

Parameters

Name Type Description
format SetupSheetFormats The document format for the setup sheet. Valid options are HTMLFormat and ExcelFormat. Limitation: "ExcelFormat" can be used in windows OS only.
folder string The destination folder to locate the setup sheet documents in.
openDocument boolean An option to allow to open the document instantly after the generation. By default, the document is opened.

This is an optional argument whose default value is True.

Samples

Name Description
Generate Setup Sheets API Sample

Demonstrates generating the setup sheets for an existing toolpath.

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