Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Subscribe to event through remote control

New Here ,
Mar 15, 2023 Mar 15, 2023

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?

TOPICS
Discussion , Scripting
177
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Mar 21, 2023 Mar 21, 2023
LATEST

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
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines