Grasshopper

algorithmic modeling for Rhino

Hi all,

I'm trying to develop an IO module that save/load sliders values.

When save is clicked user chooses a file to store its data and the module automatically retrieves values from inputs (here only A slider) and store it inside the file.

When user clicks on the load button, the file is chosen with an OpenFileDialog and data are read and set back to the sliders.

 I saw in a David's example that he schedules solution, I guess it is to do the job in another thread, I did the same but it seems that I did not well understand because in my case the callback is launched several times.

What is the pattern to use in such situation?

Thanks in advance

Jerome

Views: 287

Attachments:

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2025   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service