ToolLibraries.urlByLocation Method

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

Description

Get the URL for a given LibraryLocations.

Syntax

"toolLibraries_var" is a variable referencing a ToolLibraries object.
returnValue = toolLibraries_var.urlByLocation(location)
"toolLibraries_var" is a variable referencing a ToolLibraries object.

#include <Cam/Tools/ToolLibraries.h>

returnValue = toolLibraries_var->urlByLocation(location);

Return Value

Type Description
URL Returns the URL for given location.

Parameters

Name Type Description
location LibraryLocations The LibraryLocations to be converted into an URL.

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