<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: TXT file to GDL to Label - Update Notes automatically in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/TXT-file-to-GDL-to-Label-Update-Notes-automatically/m-p/272232#M7870</link>
    <description>Hi Guys,&lt;BR /&gt;
&lt;BR /&gt;
I've dealt with this problem quite a bit, it is frustrating but I believe you will be able to get it to behave as you expect it to.&lt;BR /&gt;
&lt;BR /&gt;
The key lies in the fact that you are defining it as a parameter (as I understand from what you've been saying), and then the 2d text is built from this parameter. the parameters do not update until they are asked to (object is modified, of called upon by archicad to).&lt;BR /&gt;
&lt;BR /&gt;
What you have to do is have your "input" command present in your master script and write the value you've read from your note list to the parameter WITHOUT using the parameters command, then define the parameter as itself WITH the parameters command.&lt;BR /&gt;
&lt;BR /&gt;
For example:&lt;BR /&gt;
&lt;BR /&gt;
INPUT (1, 1, "NoteString") (or whatever the format is, I can't recall)&lt;BR /&gt;
&lt;BR /&gt;
TextOutputParameter = NoteString&lt;BR /&gt;
PARAMETERS TextOutputParameter = TextOutputParameter&lt;BR /&gt;
&lt;BR /&gt;
Then write out your text as you were normally.&lt;BR /&gt;
&lt;BR /&gt;
Whats happening is when you change the value of a parameter with the parameters command, it is only changing it within the parameter script so if the value of your input changes and the parameter script is not run then it will display the old values.&lt;BR /&gt;
&lt;BR /&gt;
By changing parameters using the method described above the actual value will change, and the next time the parameters script is run (calling up an schedule, or opening the tool box) it will catch up and also display correctly.&lt;BR /&gt;
&lt;BR /&gt;
I think that should work for you.&lt;BR /&gt;
&lt;BR /&gt;
Happy bug hunting!</description>
    <pubDate>Tue, 05 Dec 2017 04:54:32 GMT</pubDate>
    <dc:creator>JaseBee</dc:creator>
    <dc:date>2017-12-05T04:54:32Z</dc:date>
    <item>
      <title>TXT file to GDL to Label - Update Notes automatically</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/TXT-file-to-GDL-to-Label-Update-Notes-automatically/m-p/272224#M7862</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;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*&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://archicad-talk.graphisoft.com/viewtopic.php?t=46716&amp;amp;view=next&amp;amp;sid=85e44afe0d8cfeb244426c0e8a275512" target="_blank"&gt;&lt;/A&gt;&lt;S&gt;&lt;A href="http://archicad-talk.graphisoft.com/viewtopic.php?t=46716&amp;amp;view=next&amp;amp;sid=85e44afe0d8cfeb244426c0e8a275512" target="_blank"&gt;&lt;/A&gt;&lt;A href="&amp;lt;/s&amp;gt;&amp;lt;LINK_TEXT text=&amp;quot;http://archicad-talk.graphisoft.com/vie ... 0e8a275512&amp;quot;&amp;gt;http://archicad-talk.graphisoft.com/viewtopic.php?t=46716&amp;amp;view=next&amp;amp;sid=85e44afe0d8cfeb244426c0e8a275512&amp;lt;/LINK_TEXT&amp;gt;&amp;lt;e&amp;gt;"&gt;&lt;/A&gt;&lt;/S&gt;&lt;LINK_TEXT text="http://archicad-talk.graphisoft.com/vie ... 0e8a275512"&gt;http://archicad-talk.graphisoft.com/viewtopic.php?t=46716&amp;amp;view=next&amp;amp;sid=85e44afe0d8cfeb244426c0e8a275512&lt;/LINK_TEXT&gt;&lt;E&gt;&lt;/E&gt;&lt;BR /&gt;
&lt;BR /&gt;
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!&lt;BR /&gt;
&lt;BR /&gt;
*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.&lt;/R&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 29 Mar 2016 19:42:25 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/TXT-file-to-GDL-to-Label-Update-Notes-automatically/m-p/272224#M7862</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-29T19:42:25Z</dc:date>
    </item>
    <item>
      <title>Re: TXT file to GDL to Label - Update Notes automatically</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/TXT-file-to-GDL-to-Label-Update-Notes-automatically/m-p/272225#M7863</link>
      <description>Some kind of trigger parameter must be made, then the objects should be put in the schedule with  this parameter (only)&lt;BR /&gt;
&lt;BR /&gt;
Make a Boolean parameter (on/off)&lt;BR /&gt;
make it the way it will be switching off after switched on&lt;BR /&gt;
with GLOB_MODPAR_NAME.&lt;BR /&gt;
&lt;BR /&gt;
When need to update just populate the prepared schedule and click the parameter you prepared (it will be on and off right a way)&lt;BR /&gt;
&lt;BR /&gt;
This is all because the script must be rebuild...and such trigger parameter will do that.&lt;BR /&gt;
&lt;BR /&gt;
Best Regards,&lt;BR /&gt;
Piotr</description>
      <pubDate>Tue, 29 Mar 2016 21:23:03 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/TXT-file-to-GDL-to-Label-Update-Notes-automatically/m-p/272225#M7863</guid>
      <dc:creator>Piotr Dobrowolski</dc:creator>
      <dc:date>2016-03-29T21:23:03Z</dc:date>
    </item>
    <item>
      <title>Re: TXT file to GDL to Label - Update Notes automatically</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/TXT-file-to-GDL-to-Label-Update-Notes-automatically/m-p/272226#M7864</link>
      <description>Thanks for your reply Piotr. &lt;BR /&gt;
&lt;BR /&gt;
I think I understand what you are saying - the object I am creating should be scheduled, and then I can "edit" the object using the schedule, by flipping the boolean parameter?&lt;BR /&gt;
&lt;BR /&gt;
If this is what you mean, I have a problem, which is that my object is a label. I can't seem to schedule a label?&lt;BR /&gt;
&lt;BR /&gt;
Thanks!</description>
      <pubDate>Tue, 29 Mar 2016 23:45:50 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/TXT-file-to-GDL-to-Label-Update-Notes-automatically/m-p/272226#M7864</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-29T23:45:50Z</dc:date>
    </item>
    <item>
      <title>Re: TXT file to GDL to Label - Update Notes automatically</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/TXT-file-to-GDL-to-Label-Update-Notes-automatically/m-p/272227#M7865</link>
      <description>Is it for  key noting purpose?&lt;BR /&gt;
If so, why don't you use  the ifc properties and the tha tag&amp;amp;categories label?&lt;BR /&gt;
There's a video tutorial by Eric Bobrow which is "illuminating".&lt;BR /&gt;
&lt;A href="http://youtu.be/hOvxqJL-Qvs" target="_blank"&gt;http://youtu.be/hOvxqJL-Qvs&lt;/A&gt;&lt;BR /&gt;
It works well and it can be easily controlled by the interactive schedule.&lt;BR /&gt;
The only limitation I see is that you cannot format the texts ...</description>
      <pubDate>Wed, 30 Mar 2016 05:02:15 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/TXT-file-to-GDL-to-Label-Update-Notes-automatically/m-p/272227#M7865</guid>
      <dc:creator>alemanda</dc:creator>
      <dc:date>2016-03-30T05:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: TXT file to GDL to Label - Update Notes automatically</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/TXT-file-to-GDL-to-Label-Update-Notes-automatically/m-p/272228#M7866</link>
      <description>That is an interesting idea, and one that may be useful.&lt;BR /&gt;
&lt;BR /&gt;
However, most of the notations that we do occur in details, which is 2D geometry (lines and fills). It seems that this would be impossible to link to the object's IFC property?</description>
      <pubDate>Wed, 30 Mar 2016 15:59:16 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/TXT-file-to-GDL-to-Label-Update-Notes-automatically/m-p/272228#M7866</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-30T15:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: TXT file to GDL to Label - Update Notes automatically</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/TXT-file-to-GDL-to-Label-Update-Notes-automatically/m-p/272229#M7867</link>
      <description>Yes ... this is the only (and strong) limitation ...</description>
      <pubDate>Wed, 30 Mar 2016 16:53:12 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/TXT-file-to-GDL-to-Label-Update-Notes-automatically/m-p/272229#M7867</guid>
      <dc:creator>alemanda</dc:creator>
      <dc:date>2016-03-30T16:53:12Z</dc:date>
    </item>
    <item>
      <title>Re: TXT file to GDL to Label - Update Notes automatically</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/TXT-file-to-GDL-to-Label-Update-Notes-automatically/m-p/272230#M7868</link>
      <description>So... back to the original question: is there anyway to force my label to automatically update itself when the text file is updated?</description>
      <pubDate>Wed, 30 Mar 2016 16:58:07 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/TXT-file-to-GDL-to-Label-Update-Notes-automatically/m-p/272230#M7868</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-30T16:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: TXT file to GDL to Label - Update Notes automatically</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/TXT-file-to-GDL-to-Label-Update-Notes-automatically/m-p/272231#M7869</link>
      <description>Kyle,&lt;BR /&gt;
Did you ever find a workaround for this? I am currently trying to achieve a similar thing&lt;BR /&gt;
&lt;BR /&gt;
Tom</description>
      <pubDate>Tue, 05 Dec 2017 02:18:27 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/TXT-file-to-GDL-to-Label-Update-Notes-automatically/m-p/272231#M7869</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-05T02:18:27Z</dc:date>
    </item>
    <item>
      <title>Re: TXT file to GDL to Label - Update Notes automatically</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/TXT-file-to-GDL-to-Label-Update-Notes-automatically/m-p/272232#M7870</link>
      <description>Hi Guys,&lt;BR /&gt;
&lt;BR /&gt;
I've dealt with this problem quite a bit, it is frustrating but I believe you will be able to get it to behave as you expect it to.&lt;BR /&gt;
&lt;BR /&gt;
The key lies in the fact that you are defining it as a parameter (as I understand from what you've been saying), and then the 2d text is built from this parameter. the parameters do not update until they are asked to (object is modified, of called upon by archicad to).&lt;BR /&gt;
&lt;BR /&gt;
What you have to do is have your "input" command present in your master script and write the value you've read from your note list to the parameter WITHOUT using the parameters command, then define the parameter as itself WITH the parameters command.&lt;BR /&gt;
&lt;BR /&gt;
For example:&lt;BR /&gt;
&lt;BR /&gt;
INPUT (1, 1, "NoteString") (or whatever the format is, I can't recall)&lt;BR /&gt;
&lt;BR /&gt;
TextOutputParameter = NoteString&lt;BR /&gt;
PARAMETERS TextOutputParameter = TextOutputParameter&lt;BR /&gt;
&lt;BR /&gt;
Then write out your text as you were normally.&lt;BR /&gt;
&lt;BR /&gt;
Whats happening is when you change the value of a parameter with the parameters command, it is only changing it within the parameter script so if the value of your input changes and the parameter script is not run then it will display the old values.&lt;BR /&gt;
&lt;BR /&gt;
By changing parameters using the method described above the actual value will change, and the next time the parameters script is run (calling up an schedule, or opening the tool box) it will catch up and also display correctly.&lt;BR /&gt;
&lt;BR /&gt;
I think that should work for you.&lt;BR /&gt;
&lt;BR /&gt;
Happy bug hunting!</description>
      <pubDate>Tue, 05 Dec 2017 04:54:32 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/TXT-file-to-GDL-to-Label-Update-Notes-automatically/m-p/272232#M7870</guid>
      <dc:creator>JaseBee</dc:creator>
      <dc:date>2017-12-05T04:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: TXT file to GDL to Label - Update Notes automatically</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/TXT-file-to-GDL-to-Label-Update-Notes-automatically/m-p/272233#M7871</link>
      <description>F YEAH  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_biggrin.gif" style="display : inline;" /&gt; &lt;BR /&gt;
Cheers mate. I made it so in the parameter script the id of the pulldown window gets sent to a parameter&lt;BR /&gt;
1.Project note 1 &amp;gt; sets textNumber to &lt;B&gt;1&lt;/B&gt;&lt;BR /&gt;
2.Project note 2 &amp;gt; sets textNumber to &lt;B&gt;2&lt;/B&gt;&lt;BR /&gt;
.....&lt;BR /&gt;
&lt;BR /&gt;
Then in the master (please ignore my lazy copy and paste coding, I'm not usually this bad)&lt;BR /&gt;
&lt;BR /&gt;
DIM sarray2[] &lt;BR /&gt;
filename = "ProjectNotes.txt" &lt;BR /&gt;
ch1 = OPEN ("text", filename, "MODE=RO, LIBRARY") &lt;BR /&gt;
i = 1 &lt;BR /&gt;
j = 1 &lt;BR /&gt;
sarray2[1] = "" &lt;BR /&gt;
! collect all strings &lt;BR /&gt;
DO &lt;BR /&gt;
    n4 = INPUT (ch1, i, 1, var) &lt;BR /&gt;
    IF n4 &amp;gt; 0 AND VARTYPE (var) = 2 THEN &lt;BR /&gt;
        sarray2&lt;J&gt; = var &lt;BR /&gt;
        j = j + 1 &lt;BR /&gt;
    ENDIF &lt;BR /&gt;
    i = i + 1 &lt;BR /&gt;
WHILE n4 &amp;gt; 0 &lt;BR /&gt;
CLOSE ch1 &lt;BR /&gt;
&lt;BR /&gt;
textOutputFull = sarray2[textNumber]&lt;BR /&gt;
findDot = strstr(textOutputFull, '.')&lt;BR /&gt;
len = STRLEN(textOutputFull)&lt;BR /&gt;
textOutput =  strsub(textOutputFull, findDot+1, len-findDot)&lt;BR /&gt;
&lt;BR /&gt;
To update all the labels on the project, I just need to refresh the library.&lt;/J&gt;</description>
      <pubDate>Tue, 05 Dec 2017 05:30:52 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/TXT-file-to-GDL-to-Label-Update-Notes-automatically/m-p/272233#M7871</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-05T05:30:52Z</dc:date>
    </item>
    <item>
      <title>Re: TXT file to GDL to Label - Update Notes automatically</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/TXT-file-to-GDL-to-Label-Update-Notes-automatically/m-p/272234#M7872</link>
      <description>No worries,&lt;BR /&gt;
&lt;BR /&gt;
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...)&lt;BR /&gt;
&lt;BR /&gt;
They like to keep ya on yer toes!</description>
      <pubDate>Tue, 05 Dec 2017 06:55:27 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/TXT-file-to-GDL-to-Label-Update-Notes-automatically/m-p/272234#M7872</guid>
      <dc:creator>JaseBee</dc:creator>
      <dc:date>2017-12-05T06:55:27Z</dc:date>
    </item>
  </channel>
</rss>

