Share

Script.folder Property

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

Description

Gets the full path of the folder that contains this script or add-in.

Syntax

"script_var" is a variable referencing a Script object.

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

Property Value

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

Version

Introduced in version October 2023

Was this information helpful?