PostLibrary.postConfigurationAtURL Method

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

Description

Get a specific post configuration by the given URL. Returns null, if the URL does not exist.

Syntax

"postLibrary_var" is a variable referencing a PostLibrary object.
returnValue = postLibrary_var.postConfigurationAtURL(url)
"postLibrary_var" is a variable referencing a PostLibrary object.

#include <Cam/Post/PostLibrary.h>

returnValue = postLibrary_var->postConfigurationAtURL(url);

Return Value

Type Description
PostConfiguration Returns the post configuration for a valid URL, returns null otherwise.

Parameters

Name Type Description
url URL The URL to the post configuration to be loaded.

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