Page 1 of 1

Python: execute in Fusion from another thread

PostPosted: Wed May 20, 2015 2:05 pm
by Roy Nieterau
Hey everyone,

I'm trying to figure out the following two steps for Fusion:

  • Being able to run a persistent thread, using
    Code: Select all
    threading.Thread

  • Being able to run a Fusion-command from another thread.

Preferably in a way that works both with Fusion 6, 7 and upcoming 8.
If you know dirty hacks let me know (woohoo!) or if there's an easy way forward that would be even better! If I can open command ports in Fusion and then hook into that from outside Fusion that's already a start.

I've tried using the eyeonScript.exe that comes with Fusion to connect to the app.
Though I'm only getting connections with Fusion 6 and not Fusion 7.
(Even though pinging with eyeonScript.exe also pings back if Fusion 7 is open!)