Copy link to clipboard
Copied
Is it possible to subscribe to an event through remote control of painter?
Right now I have remote control of painter, and I can subscribe to an event within painter and do things, but the current remote control is a 1 way street. I used the examples here to set it up.
https://substance3d.adobe.com/documentation/spdoc/remote-control-with-scripting-216629326.html
How would I retrieve data that painter sends back to the server?
Copy link to clipboard
Copied
Sorry for the delay in response.
Unfortunately, this isn't possible. You can't bind an event to a function outside Substance 3D Painter. If your goal is bi-directional, you'll have to implement a (websocket) server. The Substance Painter server used for remote-scripting is unidirectional (commands are given from outside).
Best regards,