Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

TXT file to GDL to Label - Update Notes automatically

Anonymous
Not applicable
I am trying to make a label that is populated by notes from a .txt file. So far, I have successfully been able to get the parameter values to populate with help from this thread*

http://archicad-talk.graphisoft.com/viewtopic.php?t=46716&view=next&sid=85e44afe0d8cfeb244426c0e8a275512

My question is, how can I get the label/notes to update automatically when I change the text file. Currently, when I reload the library, the parameter values update correctly, but the actual text displayed by the label remains unchanged. I have to manually open each label and select the updated text (defeating the whole purpose of this tool). Any help would be appreciated, I am still new to gdl. Thank you!

*I think that thread is talking about very similar things, but I thought it best to start a new one, as that one is 2 yrs old.
10 REPLIES 10
JaseBee
Advocate
No worries,

I'm just about to embark on some serious input/output objects, I've found that with all the "does not work in parameter script" changes they've made it seems to make sense to use the dialog filename rather than library (with the library method you can only write from the parameter, ui or property... and I wanted to write out requests of things they don't like you requesting in the parameter). But doing it that way though means it will check without having to update the library, just whenever the relevant script runs (2d/3d, whatever...)

They like to keep ya on yer toes!
AC 24 5004 AUS
iMac OSX (10.13.6) 4.2ghz i7
8gb ram/8gb vram