public FrameEnvelopeReactionResult GetFrameReactions(string GroupName, string ComboName, ModelUnits ModelUnits)
        {
            //FrameForceExtractor ext = new FrameForceExtractor(model);
            //FrameEnvelopeReactionResult res = ext.GetFrameReactions(GroupName, ComboName, ModelUnits);
            FrameDataExtractor          ext = new FrameDataExtractor();
            FrameEnvelopeReactionResult res = ext.GetFrameReactions(GroupName, ComboName, ModelUnits.ToString());

            return(res);
        }
 private void GetReactions()
 {
     try
     {
         ErrorMessage = "";
         FrameDataExtractor          mde    = new FrameDataExtractor();
         FrameEnvelopeReactionResult result = mde.GetFrameReactions(SelectedGroup, SelectedCombo, "kip_in");
         V_major_left  = result.ShearMajorStart;
         V_major_right = result.ShearMajorEnd;
         M_major_left  = result.MomentMajorStart;
         M_major_right = result.MomentMajorEnd;
         P_left        = result.AxialForceStart;
         P_right       = result.AxialForceEnd;
         V_minor_left  = result.ShearMinorStart;
         V_minor_right = result.ShearMinorEnd;
         M_minor_left  = result.MomentMinorStart;
         M_minor_right = result.MomentMinorEnd;
     }
     catch (Exception)
     {
         SetDefaultParameters();
         ErrorMessage = "Data extraction failed. Either ETABS is not running, or results are unavailable for selected Group/Combo.";
     }
 }