Script.isAddIn Property

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

Description

Gets if this Script object represents a script or an add-in. Returns true if it is an add-in.

Syntax

"script_var" is a variable referencing a Script object.

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

// Get the value of the property.
boolean propertyValue = script_var->isAddIn();

Property Value

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

Version

Introduced in version October 2023