ToolLibraries.urlByLocation Method

Parent Object: ToolLibraries

Derived from: CAMLibrary.urlByLocation


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);
"toolLibraries_var" is a variable referencing a ToolLibraries object.

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 and a few operations, picks tools from a Fusion sample tool library using loops and queries, and post-processes the operations using an NC program.

Version

Introduced in version April 2023