Ask Your Question

Revision history [back]

I was stuck on this for a while, since I couldn't find an "Edit Code" button, and I was confused about which source code I had to edit. I found out that the source code Phillip Schillinger talks about is the .py code of the behaviour you are using the class in. So in your own Flexbe package go to behaviours and find the .py code of the behaviour that uses the class.

Also, in my case, my class had 6 inputs, I needed to define these in the defaut userdata as well. So (again, in my case) I had to enter the following in as default userdata: Buoy(0, 0, 'string', 0, 0, 'string'), where 'Buoy' is the name of my class. Just using Buoy() does not work.