Sense the change of object ID

Home Forums Problems and solutions in GDL Parameter connections Sense the change of object ID

Tagged: 

This topic contains 1 reply, has 1 voice, and was last updated by  Piotr Dobrowolski 3 weeks, 5 days ago.

  • Author
    Posts
  • #4195

    Piotr Dobrowolski
    Participant

    Is there a way to check if the ID of the object changed?
    There is GLOB_ID parameter but there is no way to check if it changed.
    I need this in masterscript or parameter script.

    Piotr

  • #4196

    Piotr Dobrowolski
    Participant

    OK I will answer myself.
    Looks like it is wired: if GLOB_MODPAR_NAME=GLOB_ID” just worked…
    So in the “previous” (first) run there must be temp parameter prepared say: TEMP_IDX where the previous state of ID is stored (can be of course empty for the start)
    then:
    if (GLOB_ID#TEMP_IDX) then
    will mimic the missing parameters change check.

    Piotr

You must be logged in to reply to this topic.