Skip to main content
Participant
March 16, 2023
Question

Subscribe to event through remote control

  • March 16, 2023
  • 1 reply
  • 242 views

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?

This topic has been closed for replies.

1 reply

Cyril Dellenbach
Community Manager
Community Manager
March 21, 2023

Hi @Gabor28433376huy4,

 

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,

 

Cyril Dellenbach (Micro) | QA Support Artist | Adobe