Overview
Script in Python®, an easy to learn language. Scripting reference will go over all of the functions implemented by Radium.
Python Notes
Radium uses Python 2.7 via Jython, which does not support all features modern python supports. Also PIP libraries do not work. If there is a library you would like to see implemented, please open an issue on Github.
Radium Scripting Notes
There are a few small things that should be kept in mind when writing python with Radium.
- You should not use the
import
keyword for any Radium related imports. This is because it is not supported by Radium, and everything is already automatically imported. - You cannot import other files you have written into your program. There might be a fix soon, but for now, everything must be contained inside one file.
- Do not edit any variables directly in a class. Instead use the dedicated getter and setter methods. And if there is no getter or setter method for the field, it should not be changed at all.