We are using Ignition version 7.8.2, Recipe Version 1.8.2 (b6075) and User Manual (MES) 1.8.2 (b6071).
We are not able to find “system.recipe.updateRecipeValueSecurity” script function in user manual but function is available.
We found latest user manual on Sepasoft’s Website.
Example code given in the manual is not working, corrected code is as below.
secInfo = system.recipe.getRecipeValueSecurity(‘Enterprise\Site\Area\Recipe Test 1\Recipe Test 1A’, ‘RV 1’, True)
#Cycle through and print the setting for each roll
for ndx in range(secInfo.getSecurityRollCount()):
recSec = [color=#FF0040]secInfo[/color].getSecurityRoll(ndx)
print recSec.getSecurityRoll()
print recSec.isAllowEdit()
print recSec.getMinValue()
print recSec.getMaxValue()
print