OK, a little misunderstanding.
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.
@Piotr Dobrowolski 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.
It doesn't seem to work in other scripts. If your object Master Script detected a changed state for Param1 e.g. Param1 <> Param2 then you could possibly use that to trigger a reload?
chk = LIBRARYGLOBAL ("My_MVO_Macro", "My_MVO_Param1", _reqParam1) Param1 = _reqParam1 PARAMETERS Param1 = Param1
If anyone else is looking for guidance on linking to MVO settings this link may help...
I do have such thing, but I have it a little different:
chk = LIBRARYGLOBAL ("My_MVO_Macro", "My_MVO_Param1", Param1) PARAMETERS Param1 = Param1
And it does not work...GLOB_MODPAR_NAME does not trigger...
I tested with the parameter equaling...and it does not change anything
maybe it is because I load the database in the parameter script...I will investigate further.
This tread gives me an impression, that the Libraryglobal works in 2d and 3d only.
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
difference between Param_a and Param_a_.
If Param_a#Param_a_ then modparname="Param_a"
parameters modparname=modparname, Param_a_=Param_a
I have not tried this method in Your case but this problem is interesting.