Forum: Poser Python Scripting


Subject: Using sockets or pipes to talk with external apps

tromnek opened this issue on Nov 27, 2004 ยท 9 posts


bushi posted Tue, 30 November 2004 at 12:52 PM

That looks pretty cool. I've never tried using sockets in Python but I'll file this one away for future reference. Just as an aside, if you have any problems with your timer call-back running smoothly, you might want to change this: scene.ProcessSomeEvents(1) to this: scene.ProcessSomeEvents() It isn't documented anywhere but the event processor will apparently service all queued events if it is called without a specific number passed. I've used this in most of my scripts and it really helps to keep them from hanging.