NCProgramInput.parameters Property

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

Description

Get all parameters for the current NC program. Parameters are initialized by user defaults. Configure operation parameters before creation for a better performance.

Syntax

"nCProgramInput_var" is a variable referencing a NCProgramInput object.

# Get the value of the property.
propertyValue = nCProgramInput_var.parameters
"nCProgramInput_var" is a variable referencing a NCProgramInput object.
#include <Cam/NCProgram/NCProgramInput.h>

// Get the value of the property.
Ptr<CAMParameters> propertyValue = nCProgramInput_var->parameters();

Property Value

This is a read only property whose value is a CAMParameters.

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