NCProgram.updatePostParameters Method

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

Description

Overrides the default post parameters of this NC program with the given user's input.

Syntax

"nCProgram_var" is a variable referencing a NCProgram object.
returnValue = nCProgram_var.updatePostParameters(parameters)
"nCProgram_var" is a variable referencing a NCProgram object.

#include <Cam/NCProgram/NCProgram.h>

returnValue = nCProgram_var->updatePostParameters(parameters);

Return Value

Type Description
boolean Returns true if the update was successful. False otherwise

Parameters

Name Type Description
parameters CAMParameters

Samples

Name Description
Basic Milling Workflow Sample Demonstrates the creation of a basic milling workflow from script

Demonstrates creating a setup, searching tool library to retrieve a tool, create a couple of machining operations and a NC program, ready for post processing.

Use the 2D Strategies model from the Fusion CAM Samples folder as your CAD model.

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 April 2023