NCProgram.postConfiguration Property

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

Description

Gets and sets the post configuration of this NC program.

Syntax

"nCProgram_var" is a variable referencing a NCProgram object.

# Get the value of the property.
propertyValue = nCProgram_var.postConfiguration

# Set the value of the property.
nCProgram_var.postConfiguration = propertyValue
"nCProgram_var" is a variable referencing a NCProgram object.
#include <Cam/NCProgram/NCProgram.h>

// Get the value of the property.
Ptr<PostConfiguration> propertyValue = nCProgram_var->postConfiguration();

// Set the value of the property, where value_var is a PostConfiguration.
bool returnValue = nCProgram_var->postConfiguration(value_var);

Property Value

This is a read/write property whose value is a PostConfiguration.

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