Script.targetOperatingSystem Property

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

Description

Returns the operating systems this script or add-in is available for.

Syntax

"script_var" is a variable referencing a Script object.

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

// Get the value of the property.
OperatingSystems propertyValue = script_var->targetOperatingSystem();

Property Value

This is a read only property whose value is an OperatingSystems.

Version

Introduced in version October 2023