You are trying to call the function from python console, which was most likely called on it's own (as a separate process) and doesn't know about your function.
Please edit your run/debug configuration, and enable checkbox "Run with python console", then run this configuration. You code will be executed and you can continue working in the console which will be aware of the objects created by your code.
Hi Franco,
You are trying to call the function from python console, which was most likely called on it's own (as a separate process) and doesn't know about your function.
Please edit your run/debug configuration, and enable checkbox "Run with python console", then run this configuration. You code will be executed and you can continue working in the console which will be aware of the objects created by your code.