コード例 #1
0
 /// <summary>
 /// This function sets the output option for nonlinear static results.
 /// </summary>
 /// <param name="outputOption">The output option.</param>
 /// <exception cref="CSiException"></exception>
 /// <exception cref="MPT.CSI.API.Core.Support.CSiException"></exception>
 public void SetOptionNLStatic(eAnalysisMultiStepOptions outputOption)
 {
     _callCode = _sapModel.Results.Setup.SetOptionNLStatic((int)outputOption);
     if (throwCurrentApiException(_callCode))
     {
         throw new CSiException();
     }
 }
コード例 #2
0
 /// <summary>
 /// This function sets the output option for modal history results.
 /// </summary>
 /// <param name="outputOption">The output option.</param>
 /// <exception cref="CSiException">API_DEFAULT_ERROR_CODE</exception>
 /// <exception cref="MPT.CSI.API.Core.Support.CSiException"></exception>
 public void SetOptionModalHistory(eAnalysisMultiStepOptions outputOption)
 {
     _callCode = _sapModel.Results.Setup.SetOptionModalHist((int)outputOption);
     if (throwCurrentApiException(_callCode))
     {
         throw new CSiException(API_DEFAULT_ERROR_CODE);
     }
 }
コード例 #3
0
        /// <summary>
        /// This function retrieves the output option for nonlinear static results.
        /// </summary>
        /// <param name="outputOption">The output option.</param>
        /// <exception cref="CSiException"></exception>
        /// <exception cref="MPT.CSI.API.Core.Support.CSiException"></exception>
        public void GetOptionNLStatic(ref eAnalysisMultiStepOptions outputOption)
        {
            int csiValue = 0;

            _callCode = _sapModel.Results.Setup.GetOptionNLStatic(ref csiValue);
            if (throwCurrentApiException(_callCode))
            {
                throw new CSiException();
            }

            outputOption = (eAnalysisMultiStepOptions)csiValue;
        }
コード例 #4
0
        /// <summary>
        /// This function retrieves the output option for modal history results.
        /// </summary>
        /// <param name="outputOption">The output option.</param>
        /// <exception cref="CSiException">API_DEFAULT_ERROR_CODE</exception>
        /// <exception cref="MPT.CSI.API.Core.Support.CSiException"></exception>
        public void GetOptionModalHistory(ref eAnalysisMultiStepOptions outputOption)
        {
            int csiValue = 0;

            _callCode = _sapModel.Results.Setup.GetOptionModalHist(ref csiValue);
            if (throwCurrentApiException(_callCode))
            {
                throw new CSiException(API_DEFAULT_ERROR_CODE);
            }

            outputOption = (eAnalysisMultiStepOptions)csiValue;
        }
コード例 #5
0
 /// <summary>
 /// Sets the output option for nonlinear static results.
 /// </summary>
 /// <param name="outputOption">The output option.</param>
 /// <exception cref="CSiException"><see cref="CSiApiBase.API_DEFAULT_ERROR_CODE" /></exception>
 /// <exception cref="MPT.CSI.API.Core.Support.CSiException"></exception>
 public void SetOptionNLStatic(eAnalysisMultiStepOptions outputOption)
 {
     _analysisResultsSetup.SetOptionNLStatic(outputOption);
     OptionNLStatic = outputOption;
 }
コード例 #6
0
 /// <summary>
 /// Sets the output option for modal history results.
 /// </summary>
 /// <param name="outputOption">The output option.</param>
 /// <exception cref="CSiException"><see cref="CSiApiBase.API_DEFAULT_ERROR_CODE" /></exception>
 /// <exception cref="MPT.CSI.API.Core.Support.CSiException"></exception>
 public void SetOptionModalHistory(eAnalysisMultiStepOptions outputOption)
 {
     _analysisResultsSetup.SetOptionModalHistory(outputOption);
     OptionModalHistory = outputOption;
 }
コード例 #7
0
 public void GetOptionNLStatic(ref eAnalysisMultiStepOptions outputOption)
 {
 }
コード例 #8
0
 public void GetOptionModalHistory(ref eAnalysisMultiStepOptions outputOption)
 {
 }
コード例 #9
0
 public void GetOptionDirectHistory(ref eAnalysisMultiStepOptions outputOption)
 {
 }
コード例 #10
0
 public void SetOptionMultiStepStatic(eAnalysisMultiStepOptions outputOption)
 {
 }