CAMLibrary.displayName Method

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

Description

Get the localized display name for a given URL. The URL must point to a folder.

Syntax

"cAMLibrary_var" is a variable referencing a CAMLibrary object.
returnValue = cAMLibrary_var.displayName(url)
"cAMLibrary_var" is a variable referencing a CAMLibrary object.

#include <Cam/Global/CAMLibrary.h>

returnValue = cAMLibrary_var->displayName(url);

Return Value

Type Description
string Returns localized display name for the folder. Returns empty string for invalid URL.

Parameters

Name Type Description
url URL The URL that defines the path to a folder.

Version

Introduced in version April 2023