How can I apply changes from one Operational Scenario to another via script?
Category:
Scripting
Summary
Is there a way to compare two Operation Scenarios and after comparing them, apply only selected values from one Operation Scenario to the other.
Answer
Data can be applied from one scenario is another via script using the ApplySelective() method. For example:
Scenario.ApplySelective(1, folder)
"Scenario" is the IntScenario object that contains changes to be applied and "folder" is an IntFolder object containing variable selection objects. For example, if we want to apply some specific changes from SC1 to SC2
SC1.ApplySelective(folderWithVariableSelection)
Before executing the script don't forget to activate SC2. For more information have a look at attached png file.
Tags