URL.parent Property

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

Description

Get the parent URL, represented by the section before the last '/'.

Syntax

"uRL_var" is a variable referencing a URL object.

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

// Get the value of the property.
Ptr<URL> propertyValue = uRL_var->parent();

Property Value

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

Version

Introduced in version April 2023