Hello Guest it is May 25, 2025, 09:36:49 PM

Author Topic: How to work with DRO on modify script  (Read 49 times)

0 Members and 1 Guest are viewing this topic.

How to work with DRO on modify script
« on: May 23, 2025, 03:51:56 PM »
Hi. I'm not clear on the workings of DRO, and I haven't found any documentation or solutions to it. I need to link the DRO to the registry, and at the same time execute other parts of the code. So I can't simply link the DRO to the registry only, I need to use the on Modify script as well. However, if something is in the "on Modify script", in a given DRO object, that DRO does not store the new value I enter into it.

I have done multiple testing, but I have not gotten a working result. simply pulling a value from the DRO in the on modify script using "scr.GetProperty(...)" does not work.

I know of several ways to work around this problem and solve it in other ways, but I would like to figure out how to work with the on modify script in DRO objects...

Can you show me the correct way ?

Translated with DeepL.com (free version)