Share

Script.id Property

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

Description

Gets the ID of this script or add-in. This is typically a GUID and is assumed to be unique with respect to all other add-ins.

Syntax

"script_var" is a variable referencing a Script object.

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

Property Value

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

Version

Introduced in version October 2023

Was this information helpful?