Support Board
Date/Time: Sat, 11 Jan 2025 03:54:35 +0000
[Programming Help] - sc.SetDefaults - resetting from within active ACSIL function
View Count: 1380
[2016-10-30 08:27:57] |
User553714 - Posts: 184 |
Hi, Is there anyway to re-run sc.SetDefaults from within an ACSIL function; I have tried manually setting sc.SetDefault = 1 (True) from within an active ACSIL function but this seems to have no affect. What I am trying to do is cause a full reset of the variables within sc.SetDefaults without having to remove and then reapply a custom study. I can repeat all the variables in a 2nd location but it would be easier to just have sc.SetDefault to run again? Is this possible? I read the following links but they don't seem to help. Regards. ACSIL Interface Members - Variables and Arrays: sc.SetDefaults http://www.sierrachart.com/index.php?page=doc/ACS_ArraysAndLooping.html#ManualLooping |
[2016-11-01 00:47:01] |
User553714 - Posts: 184 |
For others benefit; I searched all the studies files in the ACS_Source folder for sc.SetDefaults use and it seems what I am trying to do has not been done before i.e. the only time sc.SetDefaults is used in any of the 8-off studies files is to set the initial configuration settings at the top of the custom study "if (sc-SetDefaults)"; resetting specific settings I believe needs to be done manually within ACSIL study as required. Regards.
|
To post a message in this thread, you need to log in with your Sierra Chart account: