CAMTemplateLibrary.displayName Method

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

Description

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

Syntax

"cAMTemplateLibrary_var" is a variable referencing a CAMTemplateLibrary object.
returnValue = cAMTemplateLibrary_var.displayName(url)
"cAMTemplateLibrary_var" is a variable referencing a CAMTemplateLibrary object.

#include <Cam/CAMTemplate/CAMTemplateLibrary.h>

returnValue = cAMTemplateLibrary_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