Skip to main content
MCoperand1= TheSystem.MCE.GetOperandAt(1);
MCoperand1.ChangeType(ZOSAPI.Editors.MCE.MultiConfigOperandType. XFIE);
MCoperand1.Param1 = 1;
MCoperand1.GetOperandCell(1).DoubleValue = 10.0;   
MCoperand1.GetOperandCell(2).DoubleValue = 20.0;
 

The above code set multi configuration operand#1 as XFIE.

TheSystem.MCE.InsertConfiguration(2, true);
TheSystem.MCE.DeleteConfiguration(2);
TheSystem.MCE.MakeSingleConfiguration();
TheSystem.MCE.SetCurrentConfiguration(1);
TheSystem.MCE.CurrentConfiguration;
TheSystem.MCE.NumberOfConfigurations;

In the above code:

  • Insert a new configuration at config#2 with pickups from the first configuraiton
  • Delete config#2
  • Delete all the multi-configuration data, leaving the lens as a single configuration system in whatever configuration is active at the time this tool is used.
  • Set the currently active configuration for the system
  • Get the current configuration number
  • Get the total number of configurations
Be the first to reply!