NCProgram.postProcess Method

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

Description

Creates machine-specific NC code for this NC program.

Syntax

"nCProgram_var" is a variable referencing a NCProgram object.
returnValue = nCProgram_var.postProcess(options)
"nCProgram_var" is a variable referencing a NCProgram object.

#include <Cam/NCProgram/NCProgram.h>

returnValue = nCProgram_var->postProcess(options);

Return Value

Type Description
boolean Returns true if the post process was successful.

Parameters

Name Type Description
options NCProgramPostProcessOptions NCProgramPostProcessOptions to speficy the behavior on internal warning. Can be null if the default values should be used. If needed it can be created by its static create() method.

Samples

Name Description
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