Python Script Engine  1.0
GL Studio Editor Python Script API
Editor.i File Reference

Classes

class  DocumentArray
 

Functions

Module Methods

Methods that can be called on the module.

String ResolvePath (String path)
 
void AddFontPath (String directory, bool includeSubfolders=false)
 
void RemoveFontPath (String directory, bool includeSubfolders=false)
 

Detailed Description

The Editor Python Script Engine global features.

Function Documentation

void AddFontPath ( String  directory,
bool  includeSubfolders = false 
)

Adds a path where font files may be found.

Generally used by projects to add project specific fonts.

Parameters
directoryname of a directory containing font files.
includeSubfoldersset to true to search all subfolders, false to search only the given folder
Since
GL Studio 6.2.1
void RemoveFontPath ( String  directory,
bool  includeSubfolders = false 
)

Removes a path where font files may be found and prevent further searches in there.

Parameters
directoryname of a directory to remove from the search list.
includeSubfoldersset to remove all subfolders that were added during AddFontPath
Since
GL Studio 6.2.1
String ResolvePath ( String  path)

Resolves a path pointing at a referenced package to the path's actual location.

Parameters
paththe path to be resolved
Returns
The path of the file referenced if pointing to a referenced package, otherwise path returned as-is.
Since
GL Studio 6.3.1