GRAPHISOFT®

Python APIVersion: 0.23 Beta

Run

Runs an external Python script at the given path.

def Run (path) -> Any

 

Parameters

path
[in] A string containing the path to the Python script to execute.

 

Return Values

The functions returns any object returned by the external script.

 

Remarks

This function can create and modify objects in the global namespace. If the script does not return any objects, the return value is None.

 

Requirements

Version: Python API 0.1 or Later
Module: GS