ApplicationFolders.defaultPathForScriptsAndAddIns Property

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

Description

Gets and sets the default path for scripts and add-ins. This is the same as the defaultPathForScriptsAndAddIns property on the APIPreferences object.

Syntax

"applicationFolders_var" is a variable referencing an ApplicationFolders object.

# Get the value of the property.
propertyValue = applicationFolders_var.defaultPathForScriptsAndAddIns

# Set the value of the property.
applicationFolders_var.defaultPathForScriptsAndAddIns = propertyValue
"applicationFolders_var" is a variable referencing an ApplicationFolders object.
#include <Core/Application/ApplicationFolders.h>

// Get the value of the property.
string propertyValue = applicationFolders_var->defaultPathForScriptsAndAddIns();

// Set the value of the property, where value_var is a string.
bool returnValue = applicationFolders_var->defaultPathForScriptsAndAddIns(value_var);

Property Value

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

Version

Introduced in version September 2024