NCPrograms.add Method
Parent Object: NCProgramsDefined in namespace "adsk::cam" and the header file is <Cam/NCProgram/NCPrograms.h>
Description
Creates a new NC program.
Syntax
"nCPrograms_var" is a variable referencing a NCPrograms object.
|
Return Value
Type | Description |
NCProgram | Returns the created NC program. |
Parameters
Name | Type | Description |
input | NCProgramInput | NCProgramInput which will be used to create the NC program. |
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. |