Using the Python console embedded in Dragonfly

A Python console is embedded in Dragonfly. It may be used for different purposes, such as:

  • to inspect objects for attributes not accessible by the provided tools of the application
  • to manipulate data
  • to try out a quick experiment
  • debug an extension

Starting the Python console

The Python console is started by the menu item Tools/Python Console.

../../_images/openingPythonConsole.jpg

Evaluating expressions in the Python console

Instances of ORSModel.ors.Managed can be put in variables in the Python console by using their unique identifier (GUID). This GUID is accessible by a drag-drop from the object found in the Data Properties and Settings list.

../../_images/dragDropManagedInstanceInPythonConsole.jpg

../../_images/testingACodeSnippetAndAForLoop.jpg

See also

Code snippets