EDIT: this was not and issue, I just shouldn’t have suffixed my script with .py
. A habit from other editors I guess.
As mentioned in this post, the new custom scripts are no longer reside under separate project.*
and shared.*
namespaces.
Now you can create them directly. But I wonder how you can use them from a button.
I’ve tried importing myScript
, prefixing it with project.
, and using it directly like this:
myScript.myFunction("test")
But it always fails to find my function.