Script.isRunOnStartup Property
Parent Object:
ScriptDefined 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
|
"script_var" is a variable referencing a Script object.
#include <Core/Application/Script.h>
// Get the value of the property. boolean propertyValue = script_var->isRunOnStartup();
// Set the value of the property, where value_var is a boolean. bool returnValue = script_var->isRunOnStartup(value_var);
|
Property Value
This is a read/write property whose value is a boolean.
Version
Introduced in version October 2023