Report post

Are you sure you want to report the post shown below? This will send an email to the ATVO administrators. Please include a short reason for reporting.

Users reporting for no reason may be locked out.


Post

Posted by Nick Thissen
on
Should be able to just set the Status property:

public object Execute(ThemeContentItem item, object value, string parameter, ISimulation sim)
{
var flag = item.Theme.ConditionFlags.Find("ConditionFlag1");

flag.Status = true; // checked
flag.Status = false; // unchecked

return null;
}