Get current state in custom module

Is there a way to get the current state in a custom module other than sending a remote control message from the custom module to itself? Thanks in advance!

No, the custom module is not aware of the widgets in the client. At some point I might try to implement some kind of mirroring to make it possible but no plan so far.

Thank Jean-Emnanuel,

I was able to work out the plumbing. The custom-module is really powerful. Since I am using the gui to build a model and not anything in real-time. I just send a few osc message of the model and some file paths through the custom module and cancel out all others. Wish I had seen the power of that before. Makes life a lot cleaner. I have one more question that I will start in another thread. Again, thanks for all your help.