Grasshopper

algorithmic modeling for Rhino

I wish that the data gathered by the "Data recorder" wasn't flushed when the gh file is closed.

This would allow to store information from session to session.

We are trying to find an alternate way to store user values from value lists and sliders :  Human UI's "Save component states" is giving us a bit of trouble at present.

Any other idea how we could save this information within the GH definition (I'd hate to use a separate text file) ?

Cheers,

Views: 669

Replies to This Discussion

The recorder probably should cache the data as you suggest. In the meantime you can try sending the data to a generic parameter and internalising it. It does mean additional manual steps every time you save and open a file.

Hi David,

There can be no "manual" steps because the user interacts only with the definition through a Human UI interface.

in case where storing them as a file is ok treesloth pack unpack data components could be a solution.

best

alex

Hi Alex,

Well, if it's the only reliable solution, we can go for a file despite the drawbacks.

Thanks for the suggestion, I'll look into it.

Cheers,

It does mean additional manual steps every time you save and open a file.

Unless a way exists to do that by C#/VB scripting ?

Well yes I guess it could be done that way.

Not easy to guess :)

With bool Write(GH_IWriter writer) method ?

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service