URL.leafName Property

Parent Object: URL
Defined in namespace "adsk::core" and the header file is <Core/Application/URL.h>

Description

Get the leaf name of the URL, which is the section behind the last '/'.

Syntax

"uRL_var" is a variable referencing a URL object.

# Get the value of the property.
propertyValue = uRL_var.leafName
"uRL_var" is a variable referencing a URL object.
#include <Core/Application/URL.h>

// Get the value of the property.
string propertyValue = uRL_var->leafName();

Property Value

This is a read only property whose value is a string.

Version

Introduced in version April 2023