RE: [script] Waiting for playback completion

Date : Mon, 20 Nov 2006 15:28:46 -0500
To : <XSI(at)Softimage.COM>
From : Marc-André Belzile <mbelzile(at)Softimage.COM>
Subject : RE: [script] Waiting for playback completion
You cannot have a script to wait for the last frame to complete without blocking the app. You should rather use the siOnTimechange event and start processing your simulation once the last frame is done.

-mab

-----Original Message-----
From: owner-xsi(at)Softimage.COM [mailto:owner-xsi(at)Softimage.COM]On Behalf
Of Bernard Lebel
Sent: November 20, 2006 3:15 PM
To: XSI(at)Softimage.COM
Subject: [script] Waiting for playback completion


Hi,

Anyone found a way for a script to wait for the playback completion?

Right now in my script, the playback starts but the script continues
execution every though the playback is in progress. I'd like to have
it wait for the playback to finish (this is for syflex simulations).


Thanks
Bernard
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi

---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi


Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available.
This site supposedly brought to you by Benjamin Grosser and the Imaging Technology Group.