How to get the information from class Fractionation?

Jan 19 at 9:05 PM
Edited Jan 19 at 10:31 PM
Sorry, I never program C# before. How can I get information from class Fractionation? For example, I want to get the number of fractions, but it doesn't work as the code below :
public void Execute(ScriptContext context )
      MessageBox.Show("The number of the Fractionation are " + Fractionation.NumberOfFractions);
Jan 21 at 8:12 PM
Try the following:
public void Execute(ScriptContext context)
    MessageBox.Show("The number of fractions is " +
Make sure to have a plan open in Eclipse when you run the script.
Marked as answer by kroy on 1/23/2017 at 7:44 AM
Jan 23 at 3:48 PM
Edited Jan 23 at 3:48 PM
Ya, and according to Figure 4 Plan Data Model of the Chapter 3, I can figure out how to get the value I want. Thanks a lot.