I’ve got a script that works if run line-by-line, but not otherwise.
1 - reset character controls
2 - import/export meshes on the rig
3 - return character controls to previous state
The control reset doesn’t fully complete before the script gets to the exporting bit. How should I force the script to ‘wait’ until Maya is done with that first step? time.sleep(1) pauses the script correctly, but has no effect on the controls-reset completing…
any ideas?