We have users who want to export an infinitely rotating structure to an animated gif. This works perfectly using the "capture spin" command. However, sometimes it will take over a minute for the structure to completely rotate when capture/exporting. Because of this, I would like to give the user the option to cancel the capture/export process. But it seems you cannot cancel the "capture spin" command, you have to wait until the spinning has completed.
We have users who want to export an infinitely rotating structure to an animated gif. This works perfectly using the "capture spin" command. However, sometimes it will take over a minute for the structure to completely rotate when capture/exporting. Because of this, I would like to give the user to option to cancel this capture/export. But it seems you cannot cancel the "capture spin" command, you have to wait until the command is complete.
We have users who want to export an infinitely rotating structure to an animated gif. This works perfectly using the "capture spin" command. However, sometimes it will take over a minute for structure to completely rotate when capture/exporting. Becauase of this, I would like to give the user to option to cancel this capture/export. But it seems you cannot cancel the "capture spin" command, you have to wait until the command is complete.
Thanks for the reply and your suggestion does work. The problem I'm facing is that the "capture spin" command is the only way I can export one perfect revolution to an animated gif. I tried using the spin and capture commands together. Using a SwingWorker, I can constantly check if the structure is still spinning and then end the capture once it's detected the spinning has stopped. This works but when I replay the animated gif there is a very slight studder in the animation as the structure begins...
Cannot end capturing when using "spin" command