This is still a need of mine that has not been solved. And I am desperate for a solution
I have a pricing file in grasshopper model…I need to have the ability to update that file when I need to while it is live in shapediver
We are successful with google sheets as an external source to update the grasshopper file. The problem is we have to create version saves and then upload to shapediver then reupload into Shopify.
This a problem when I have 12 models to keep current.
I am desperate to get a solution to update that cost file in grasshopper while it is in the Shapediver platform in real time. I don’t want to keep having to upload revised models just because of a cost change
You do not need to re-upload Grasshopper files every time your Google Sheet data is modified, but you do have to pay attention to the caching system, as I mentioned in this topic previously.
After updating a Google Sheet, you will either need to clear the cache of your models or to use a random seed parameter to make sure the solution returned by ShapeDiver is not already cached by the system.
Note that this would not be necessary if you would upload a new Excel file to be referenced in your models instead of using the Google Sheet solution. But in any case, one or the other per-model update is needed, although it is less cumbersome than re-uploading ShapeDiver models from scratch.
A completely automatic way to handle this pricing update workflow would be to embed the models in a website and implement a mechanism relying on timestamps (for example), which would make sure the solutions returned by ShapeDiver are never cached.