Reply To: Write text file to embedded library

Home Forums Problems and solutions in GDL GDL add-ons Write text file to embedded library Reply To: Write text file to embedded library

#4301
Péter Baksa
Keymaster

Previously I tested your idea with print commands, all worked nice, but now I see that the values don’t get written to the data file.

The problem is that even if the parameter script is run when you move the object, or open the settings, it runs in a sandboxed mode, and the changes won’t be applied unless any parameter changes.

If you change some hidden parameter, eg. increment a counter, it will work – interestingly, toggling a boolean isn’t enough, maybe because the param script runs even number of times.

Péter Baksa
Library Platform, Software Engineer
GRAPHISOFT SE