Login Page - Create Account

Support Board


Date/Time: Thu, 01 May 2025 23:01:27 +0000



Post From: Stop custom study from updating over and over?

[2025-02-25 02:40:05]
cmet - Posts: 690
No idea what your study looks like but essentially, the default is every tick.

You can control that though. Oversimplified example:

if (sc.GetPersistentInt(0) == 1)
return;

if (!sc.IsFullRecalculation)
return;

sc.SetPersistentInt(0, 1);

if (sc.LastCallToFunction)
sc.SetPersistentInt(0, 0);

Date Time Of Last Edit: 2025-02-25 02:40:22