I'm trying to create an activity for design automation that will create a large set of viewables, potentially from fairly large input models. In order to reduce run time, I want to run the activity as few times as possible, meaning I'd like to create as many viewables at a time as possible. My plan was to avoid the output quotas by creating a zip file with multiple viewables and use my server to post them, rather than creating one output per viewable. I have a number of questions related to creating this activity:
- Is this approach acceptable, or should I create an activity with a more limited set of outputs, such as a 1:1 ratio of activity to output viewables?
- Is it possible to get/determine the amount of time the activity has been running for, or do I have to make sure my outputs are ready after each iteration of creating the viewable? In other words, do I create a viewable, zip my outputs, create another, zip again, rinse repeat? Or can I can find the amount of time and create as many viewables as possible before zipping them?
- Is it possible to post objects to the forge OSS from an activity without specifying the objects as an output?