/// <summary>
 /// Sets the modal case for the specified analysis case.
 /// If the specified modal case is not actually a modal case, the program automatically replaces it with the first modal case it can find.
 /// If no modal load cases exist, an error is returned.
 /// </summary>
 /// <param name="modalCase">The modal case.</param>
 /// <exception cref="CSiException"><see cref="CSiApiBase.API_DEFAULT_ERROR_CODE" /></exception>
 public void SetModalCase(ModalEigen modalCase)
 {
     _appSet?.SetModalCase(CaseName, ModalCase);
     _modalCase = modalCase;
 }
 /// <summary>
 /// Retrieves the modal case assigned to the analysis case.
 /// </summary>
 /// <exception cref="CSiException"><see cref="CSiApiBase.API_DEFAULT_ERROR_CODE" /></exception>
 public void FillModalCase()
 {
     _modalCase = new ModalEigen(_appGet?.GetModalCase(CaseName));
 }