Hi Achim,
Re:
> The "trick" is basically to call factory.calculate() (and then cancel())
The cancel part probably isn't necessary here. The reason to cancel is if something like .update() causes stuff to be added to the scene while the plugin is running and you want to remove that stuff for a subsequent step of the plugin.
For a command (run from the commands folder) any active factory that hasn't had .commit() called will get canceled when the command exits. So, another time when you might need to cancel a factory is if your plugin is run as an instant script rather than as a command.
- Peer
|