Share

Script.location Property

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

Description

Gets which standard location this script is located.

Syntax

"script_var" is a variable referencing a Script object.

# Get the value of the property.
propertyValue = script_var.location

Property Value

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

Version

Introduced in version January 2025

Was this information helpful?