Share

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

Property Value

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

Version

Introduced in version April 2023

Was this information helpful?