Share

Script.isRunOnStartup Property

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

Description

Gets and sets whether this add-in will automatically run when Fusion is started. This property is only valid when the isAddIn property returns true.

Syntax

"script_var" is a variable referencing a Script object.

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

# Set the value of the property.
script_var.isRunOnStartup = propertyValue

Property Value

This is a read/write property whose value is a boolean.

Version

Introduced in version October 2023

Was this information helpful?