<?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 Library_Master for centralized data in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/Library-Master-for-centralized-data/m-p/371946#M1721</link>
    <description>&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;I am writing a keynotes system based on text files loaded into the project library. I am curious if there is a way of centrally setting a value (or more specifically, an array), using the Library Master object, which could then be used by all my keynote markers? &lt;FONT size="3"&gt;&lt;SPAN class=""&gt;I am trying to avoid having my markers all repeat a potentially expensive use of the text I/O GDL add-on, and instead just do the work once upfront, and communicate it to the markers efficiently. &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;I've figured out that the Library Master object can do things like set value lists for a given parameter name, which is great, but &lt;A href="https://gdl.graphisoft.com/new-features-guide/changes-in-ac19" target="_blank" rel="noopener"&gt;this document&lt;/A&gt; suggests, in section IV, that we can also set values themselves:&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT size="3"&gt;&lt;EM&gt;&lt;SPAN class=""&gt;To centrally set a value for all parts of a library:&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;BR /&gt;- Use the Library Master object to &lt;U&gt;&lt;FONT color="#FF0000"&gt;set fixed values&lt;/FONT&gt;&lt;/U&gt; and value lists for all of your objects&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;BR /&gt;- Use the Library Globals set in Model View Options to have editable parameters affecting all Library parts using that Model View.&lt;/SPAN&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="3"&gt;&lt;SPAN class=""&gt;Unfortunately I can't find any documentation on the 'set fixed values' part - how is this done? Is GS just referring to inline attribute definitions such as materials?&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;&lt;SPAN class=""&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 06 Mar 2023 08:33:56 GMT</pubDate>
    <dc:creator>s_p_b</dc:creator>
    <dc:date>2023-03-06T08:33:56Z</dc:date>
    <item>
      <title>Library_Master for centralized data</title>
      <link>https://community.graphisoft.com/t5/GDL/Library-Master-for-centralized-data/m-p/371946#M1721</link>
      <description>&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;I am writing a keynotes system based on text files loaded into the project library. I am curious if there is a way of centrally setting a value (or more specifically, an array), using the Library Master object, which could then be used by all my keynote markers? &lt;FONT size="3"&gt;&lt;SPAN class=""&gt;I am trying to avoid having my markers all repeat a potentially expensive use of the text I/O GDL add-on, and instead just do the work once upfront, and communicate it to the markers efficiently. &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;I've figured out that the Library Master object can do things like set value lists for a given parameter name, which is great, but &lt;A href="https://gdl.graphisoft.com/new-features-guide/changes-in-ac19" target="_blank" rel="noopener"&gt;this document&lt;/A&gt; suggests, in section IV, that we can also set values themselves:&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT size="3"&gt;&lt;EM&gt;&lt;SPAN class=""&gt;To centrally set a value for all parts of a library:&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;BR /&gt;- Use the Library Master object to &lt;U&gt;&lt;FONT color="#FF0000"&gt;set fixed values&lt;/FONT&gt;&lt;/U&gt; and value lists for all of your objects&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;BR /&gt;- Use the Library Globals set in Model View Options to have editable parameters affecting all Library parts using that Model View.&lt;/SPAN&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="3"&gt;&lt;SPAN class=""&gt;Unfortunately I can't find any documentation on the 'set fixed values' part - how is this done? Is GS just referring to inline attribute definitions such as materials?&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;&lt;SPAN class=""&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2023 08:33:56 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Library-Master-for-centralized-data/m-p/371946#M1721</guid>
      <dc:creator>s_p_b</dc:creator>
      <dc:date>2023-03-06T08:33:56Z</dc:date>
    </item>
    <item>
      <title>Re: Library_Master for centralized data</title>
      <link>https://community.graphisoft.com/t5/GDL/Library-Master-for-centralized-data/m-p/372376#M1722</link>
      <description>&lt;P&gt;I have (and still do) use MASTER_GDL files to set value lists, and if I want just a single value then that is all I put in the value list, just a single value.&lt;/P&gt;
&lt;P&gt;I have not tried to simply set the value of a parameter.&lt;/P&gt;
&lt;P&gt;I guess you could if you never want it to be different.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have in the past used the GLOB_USER_1 to 20 parameters, but these don't work as they used to, so I stopped using them.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I need to control a parameter, then I now use the LIBRARY GLOBALS.&lt;/P&gt;
&lt;P&gt;This way you can set a parameter for a particular reason, user can change it if need be (without having to edit a MASTER_GDL script and re-load the library), and you can even save different values in different Model View Option schemes.&lt;/P&gt;
&lt;P&gt;Still not perfect as you have to edit each MVO scheme individually if you want them all to be the same values.&lt;/P&gt;
&lt;P&gt;We really need a UNIVERSAL GLOBAL as I have suggested before.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Mar 2023 02:27:59 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Library-Master-for-centralized-data/m-p/372376#M1722</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2023-03-07T02:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: Library_Master for centralized data</title>
      <link>https://community.graphisoft.com/t5/GDL/Library-Master-for-centralized-data/m-p/372923#M1723</link>
      <description>&lt;P&gt;Thanks - I think you're right that allowing the user to select a different source of keynotes per MVO is actually very useful so I will go with the Library Global. The user picks the file, and a set of hidden array type parameters get filled up with the results.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is another method I found - any inline attribute definition (i.e. DEFINE MATERIAL...) allows you to save key-value pairs using the ADDITIONAL_DATA option, of any data type, even arrays! These can then be retrieved with a REQUEST{2} "MATERIAL_INFO"... command. It does require a library reload to update, but if a few library objects need a centralized data store that doesn't need user input, this works ok, but at the cost of introducing potentially unwanted attributes.&lt;/P&gt;</description>
      <pubDate>Sun, 12 Mar 2023 23:34:57 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Library-Master-for-centralized-data/m-p/372923#M1723</guid>
      <dc:creator>s_p_b</dc:creator>
      <dc:date>2023-03-12T23:34:57Z</dc:date>
    </item>
    <item>
      <title>Re: Library_Master for centralized data</title>
      <link>https://community.graphisoft.com/t5/GDL/Library-Master-for-centralized-data/m-p/373311#M1724</link>
      <description>&lt;P&gt;MVO sets can be multi-selected, and parameters can be changed without affecting others. I am not sure about individual elements of an array.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2023 07:48:07 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Library-Master-for-centralized-data/m-p/373311#M1724</guid>
      <dc:creator>Peter Baksa</dc:creator>
      <dc:date>2023-03-16T07:48:07Z</dc:date>
    </item>
  </channel>
</rss>

