<?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: Sensing the MVO change in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/Sensing-the-MVO-change/m-p/323985#M2320</link>
    <description>&lt;P&gt;oh...not so sure if I can help...&lt;BR /&gt;&lt;BR /&gt;Have you tried placing a dummy object to "trigger" with the same code of the&amp;nbsp;&lt;SPAN&gt;GLOB_MODPAR_NAME?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 02 Dec 2021 09:32:07 GMT</pubDate>
    <dc:creator>Lukas Oelmueller</dc:creator>
    <dc:date>2021-12-02T09:32:07Z</dc:date>
    <item>
      <title>Sensing the MVO change</title>
      <link>https://community.graphisoft.com/t5/GDL/Sensing-the-MVO-change/m-p/323896#M2317</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Have anyone found a way to sense in the object that the MVO changed?&lt;/P&gt;&lt;P&gt;looking for request like thing...because the change of parameter by LIBRARYGLOBAL does not produce any trigger to GLOB_MODPAR_NAME.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Piotr&lt;/P&gt;</description>
      <pubDate>Wed, 01 Dec 2021 19:40:50 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Sensing-the-MVO-change/m-p/323896#M2317</guid>
      <dc:creator>Piotr Dobrowolski</dc:creator>
      <dc:date>2021-12-01T19:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: Sensing the MVO change</title>
      <link>https://community.graphisoft.com/t5/GDL/Sensing-the-MVO-change/m-p/323981#M2318</link>
      <description>&lt;P&gt;Example&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;EM&gt;success = LIBRARYGLOBAL ("LibraryGlobals13", "W_opLinePen", W_opLinePen)&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;pen W_opLinePen&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Thu, 02 Dec 2021 09:16:46 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Sensing-the-MVO-change/m-p/323981#M2318</guid>
      <dc:creator>Lukas Oelmueller</dc:creator>
      <dc:date>2021-12-02T09:16:46Z</dc:date>
    </item>
    <item>
      <title>Re: Sensing the MVO change</title>
      <link>https://community.graphisoft.com/t5/GDL/Sensing-the-MVO-change/m-p/323984#M2319</link>
      <description>&lt;P&gt;OK, a little misunderstanding.&lt;/P&gt;&lt;P&gt;I want something else could sense MVO change. I have a database (csv) hooked up with some data. I made some GLOB_MODPAR_NAME's that trigger the database reload. MVO change, even if the parameter that comes from LIBRARYGLOBAL changed do not trigger the reload.&lt;/P&gt;&lt;P&gt;Piotr&lt;/P&gt;</description>
      <pubDate>Thu, 02 Dec 2021 09:20:54 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Sensing-the-MVO-change/m-p/323984#M2319</guid>
      <dc:creator>Piotr Dobrowolski</dc:creator>
      <dc:date>2021-12-02T09:20:54Z</dc:date>
    </item>
    <item>
      <title>Re: Sensing the MVO change</title>
      <link>https://community.graphisoft.com/t5/GDL/Sensing-the-MVO-change/m-p/323985#M2320</link>
      <description>&lt;P&gt;oh...not so sure if I can help...&lt;BR /&gt;&lt;BR /&gt;Have you tried placing a dummy object to "trigger" with the same code of the&amp;nbsp;&lt;SPAN&gt;GLOB_MODPAR_NAME?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Dec 2021 09:32:07 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Sensing-the-MVO-change/m-p/323985#M2320</guid>
      <dc:creator>Lukas Oelmueller</dc:creator>
      <dc:date>2021-12-02T09:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: Sensing the MVO change</title>
      <link>https://community.graphisoft.com/t5/GDL/Sensing-the-MVO-change/m-p/324043#M2321</link>
      <description>&lt;P&gt;&lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/14769"&gt;@Piotr Dobrowolski&lt;/a&gt;&amp;nbsp;Are looking for an MVO change trigger? I place the following code in the Master Script of my GDL objects and get consistent change response across all placed objects.&lt;/P&gt;&lt;P&gt;It doesn't seem to work in other scripts. If your object Master Script detected a changed state for Param1 e.g. Param1 &amp;lt;&amp;gt; Param2 then you could possibly use that to trigger a reload?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;chk = LIBRARYGLOBAL ("My_MVO_Macro", "My_MVO_Param1", _reqParam1)
		Param1 = _reqParam1
		PARAMETERS Param1 = Param1&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If anyone else is looking for guidance on linking to MVO settings this link may help...&lt;/P&gt;&lt;P&gt;&lt;A href="http://gdl.graphisoft.com/tips-and-tricks/custom-made-model-view-options-object" target="_blank"&gt;http://gdl.graphisoft.com/tips-and-tricks/custom-made-model-view-options-object&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Dec 2021 16:35:15 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Sensing-the-MVO-change/m-p/324043#M2321</guid>
      <dc:creator>DGSketcher</dc:creator>
      <dc:date>2021-12-02T16:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: Sensing the MVO change</title>
      <link>https://community.graphisoft.com/t5/GDL/Sensing-the-MVO-change/m-p/324044#M2322</link>
      <description>&lt;P&gt;I do have such thing, but I have it a little different:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;chk = LIBRARYGLOBAL ("My_MVO_Macro", "My_MVO_Param1", Param1)
		PARAMETERS Param1 = Param1&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And it does not work...GLOB_MODPAR_NAME does not trigger...&lt;/P&gt;&lt;P&gt;I tested with the parameter equaling...and it does not change anything&lt;/P&gt;&lt;P&gt;maybe it is because I load the database in the parameter script...I will investigate further.&lt;/P&gt;&lt;P&gt;Piotr&lt;/P&gt;</description>
      <pubDate>Thu, 02 Dec 2021 16:50:47 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Sensing-the-MVO-change/m-p/324044#M2322</guid>
      <dc:creator>Piotr Dobrowolski</dc:creator>
      <dc:date>2021-12-02T16:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: Sensing the MVO change</title>
      <link>https://community.graphisoft.com/t5/GDL/Sensing-the-MVO-change/m-p/324318#M2323</link>
      <description>&lt;P&gt;&lt;A href="https://gdl.graphisoft.com/forums/topic/libraryglobal-mess-up" target="_blank"&gt;https://gdl.graphisoft.com/forums/topic/libraryglobal-mess-up&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This tread gives me an impression, that the Libraryglobal works in 2d and 3d only.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Dec 2021 20:08:58 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Sensing-the-MVO-change/m-p/324318#M2323</guid>
      <dc:creator>Pertti Paasky</dc:creator>
      <dc:date>2021-12-06T20:08:58Z</dc:date>
    </item>
    <item>
      <title>Re: Sensing the MVO change</title>
      <link>https://community.graphisoft.com/t5/GDL/Sensing-the-MVO-change/m-p/324356#M2324</link>
      <description>&lt;P&gt;Not only - I successfully use it for exchanging the translation strings, and passing some region specific data... The only drawback is limited no of entries and the problem in this tread &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;(You can see how it works in Velux library BO will have latest ver. soon)&lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2021 05:47:18 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Sensing-the-MVO-change/m-p/324356#M2324</guid>
      <dc:creator>Piotr Dobrowolski</dc:creator>
      <dc:date>2021-12-07T05:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: Sensing the MVO change</title>
      <link>https://community.graphisoft.com/t5/GDL/Sensing-the-MVO-change/m-p/324363#M2325</link>
      <description>&lt;P&gt;Ok.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have used another method to find out the last modified parameter: I create a "shadow" parameter like Param_a_ for Param_a. When Param_a is changed, then there is a&lt;/P&gt;&lt;P&gt;difference between Param_a and Param_a_.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Parameter script:&lt;/P&gt;&lt;P&gt;modparname=""&lt;/P&gt;&lt;P&gt;If Param_a#Param_a_ then modparname="Param_a"&lt;/P&gt;&lt;P&gt;parameters&amp;nbsp;modparname=modparname, Param_a_=Param_a&lt;/P&gt;&lt;P&gt;endif&lt;/P&gt;&lt;P&gt;I have not tried this method in Your case but this problem is interesting.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2021 07:06:11 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Sensing-the-MVO-change/m-p/324363#M2325</guid>
      <dc:creator>Pertti Paasky</dc:creator>
      <dc:date>2021-12-07T07:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: Sensing the MVO change</title>
      <link>https://community.graphisoft.com/t5/GDL/Sensing-the-MVO-change/m-p/324372#M2326</link>
      <description>&lt;P&gt;I Will try it... Implementation of more and more database features becomes more and more complicated&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; (database csv is ~60x~7000 cels&amp;nbsp; and keeps growing ;P)&lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2021 08:52:01 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Sensing-the-MVO-change/m-p/324372#M2326</guid>
      <dc:creator>Piotr Dobrowolski</dc:creator>
      <dc:date>2021-12-07T08:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: Sensing the MVO change</title>
      <link>https://community.graphisoft.com/t5/GDL/Sensing-the-MVO-change/m-p/324856#M2327</link>
      <description>&lt;P&gt;&lt;A href="http://gdl.graphisoft.com/reference-guide/functions#LIBRARYGLOBAL_gdlcommand" target="_blank" rel="noopener"&gt;From the manual&lt;/A&gt;: Visible placed objects whose 2d or 3d scripts contain LIBRARYGLOBAL commands are refreshed when the library global object’s parameters change at Model View Options. Parameter and migration scripts should not use LIBRARYGLOBAL values, the current view should not have any effect on other views.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also parameters of an object are directly accessible for listing, so they mustn't depend on the current MVO.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You should be able to read the same data from 2d and 3d scripts.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Dec 2021 17:03:23 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Sensing-the-MVO-change/m-p/324856#M2327</guid>
      <dc:creator>Peter Baksa</dc:creator>
      <dc:date>2021-12-13T17:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: Sensing the MVO change</title>
      <link>https://community.graphisoft.com/t5/GDL/Sensing-the-MVO-change/m-p/325204#M2328</link>
      <description>&lt;P&gt;Found in GDL manual AC24, maybe they give some idea.&lt;/P&gt;
&lt;P&gt;page 261: In addition, the global string variable GLOB_MODPAR_NAME contains the name of the last &lt;STRONG&gt;user&lt;/STRONG&gt;-modified parameter. -&lt;EM&gt;does this cover the program-modified parameters too?&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;page 298: • LIBRARYGLOBAL requests cannot return &lt;STRONG&gt;dictionary&lt;/STRONG&gt; type values.&lt;/P&gt;
&lt;P&gt;page 560: When resetting the value of a parameter in a certain condition in the Parameter Script using the parameters command, a similar statement must be put into the Master Script. This keeps the object's display correct in cases when the parameter script is not run by the system. E.g.:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;! parameter script
if bCondition then
yy = 1
parameters yy = yy
endif
! master script
if bCondition then yy = 1&lt;/LI-CODE&gt;</description>
      <pubDate>Sun, 19 Dec 2021 16:17:20 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Sensing-the-MVO-change/m-p/325204#M2328</guid>
      <dc:creator>Pertti Paasky</dc:creator>
      <dc:date>2021-12-19T16:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: Sensing the MVO change</title>
      <link>https://community.graphisoft.com/t5/GDL/Sensing-the-MVO-change/m-p/325320#M2329</link>
      <description>&lt;P&gt;I have to completly rebuild the triggering system... glob_modpar_name...fails in some situations...some user changing parameters trigger database reload...while others do not...restart of playing detective&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":winking_face_with_tongue:"&gt;😜&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Dec 2021 19:45:31 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Sensing-the-MVO-change/m-p/325320#M2329</guid>
      <dc:creator>Piotr Dobrowolski</dc:creator>
      <dc:date>2021-12-20T19:45:31Z</dc:date>
    </item>
    <item>
      <title>Re: Sensing the MVO change</title>
      <link>https://community.graphisoft.com/t5/GDL/Sensing-the-MVO-change/m-p/355671#M2330</link>
      <description>&lt;P&gt;Haha...&lt;/P&gt;&lt;P&gt;It took me quite a time to test this ideas (until my data import caused some errors due to the textual parameters...and caused me treating the database in powershell first to get a numerical chart)&lt;/P&gt;&lt;P&gt;Anyway it works, however it has to be done in a correct order.&lt;/P&gt;&lt;P&gt;(all in parameter script)&lt;/P&gt;&lt;P&gt;1. compare the library global loaded parameter with the local&lt;/P&gt;&lt;P&gt;2. if they do not match trigger the update and all needed code&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. use parameters command to update the parameters that came from library global&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and the point 2 was partly a success...because this part must be in the beginning and some values are not calculated yet...anyways I managed to do a dummy update which then was compared and triggered the final one.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyway LibraryGlobal can trigger some data reload inside the treated object&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2022 08:22:41 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Sensing-the-MVO-change/m-p/355671#M2330</guid>
      <dc:creator>Piotr Dobrowolski</dc:creator>
      <dc:date>2022-09-12T08:22:41Z</dc:date>
    </item>
  </channel>
</rss>

