Script.version Property

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

Description

Returns the version information associated with this script or add-in.

Syntax

"script_var" is a variable referencing a Script object.

# Get the value of the property.
propertyValue = script_var.version
"script_var" is a variable referencing a Script object.
#include <Core/Application/Script.h>

// Get the value of the property.
string propertyValue = script_var->version();

Property Value

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

Version

Introduced in version October 2023