algorithmic modeling for Rhino
hi, i'm building a web ui for a project that uses grasshopper (and a few other tools)
and I want to be able to send data from the server to grasshopper
iv'e built a web client using C# in grasshopper(it asks for get requests for data-in and post request at the end of the loop for data back to the server)
because only the client can initiate a request I let it checks for new info every few seconds
my main issue is that every few seconds the whole canvas is expired even if there's no new data
how can i make it expire only when new data is entered?
can i automate a data dam?
can i control sliders from c#? without getting expiration messages?
maybe i can use them as memory and because they are earlier in the chain the automated script won't expire them until they change...
maybe someone can give a better solution i'm open for suggestion
Tags:
This sounds pretty similar to this question, and I think the solution is similar as well - you want to handle your "every few seconds" checking in a background thread, and only expire components when changes have occurred.
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2025 Created by Scott Davidson.
Powered by