Пример #1
0
 /// <summary>
 /// Retrieves the geometric nonlinearity option for the analysis case.
 /// </summary>
 /// <exception cref="CSiException"><see cref="CSiApiBase.API_DEFAULT_ERROR_CODE" /></exception>
 public void FillGeometricNonlinearity()
 {
     if (_apiApp == null)
     {
         return;
     }
     _geometricNonlinearityType = _apiApp.GetGeometricNonlinearity(CaseName);
 }
Пример #2
0
 /// <summary>
 /// Sets the geometric nonlinearity option for the specified load case.
 /// </summary>
 /// <param name="name">The name of an existing static nonlinear load case.</param>
 /// <param name="geometricNonlinearityType">The geometric nonlinearity option selected for the load case.</param>
 /// <exception cref="CSiException"><see cref="CSiApiBase.API_DEFAULT_ERROR_CODE" /></exception>
 public void SetGeometricNonlinearity(string name,
                                      eGeometricNonlinearity geometricNonlinearityType)
 {
     _callCode = _sapModel.LoadCases.DirHistNonlinear.SetGeometricNonlinearity(name, (int)geometricNonlinearityType);
     if (throwCurrentApiException(_callCode))
     {
         throw new CSiException(API_DEFAULT_ERROR_CODE);
     }
 }
Пример #3
0
 /// <summary>
 /// This function sets the geometric nonlinearity option for the specified load case.
 /// </summary>
 /// <param name="name">The name of an existing static nonlinear load case.</param>
 /// <param name="geometricNonlinearityType">The geometric nonlinearity option selected for the load case.</param>
 /// <exception cref="CSiException"></exception>
 public void SetGeometricNonlinearity(string name,
                                      eGeometricNonlinearity geometricNonlinearityType)
 {
     _callCode = _sapModel.LoadCases.StaticNonlinear.SetGeometricNonlinearity(name, (int)geometricNonlinearityType);
     if (throwCurrentApiException(_callCode))
     {
         throw new CSiException();
     }
 }
Пример #4
0
        /// <summary>
        /// This function retrieves the geometric nonlinearity option for the specified load case.
        /// </summary>
        /// <param name="name">The name of an existing static nonlinear load case.</param>
        /// <param name="geometricNonlinearityType">The geometric nonlinearity option selected for the load case.</param>
        /// <exception cref="CSiException"></exception>
        public void GetGeometricNonlinearity(string name,
                                             ref eGeometricNonlinearity geometricNonlinearityType)
        {
            int csiGeometricNonlinearityType = 0;

            _callCode = _sapModel.LoadCases.StaticNonlinear.GetGeometricNonlinearity(name, ref csiGeometricNonlinearityType);
            if (throwCurrentApiException(_callCode))
            {
                throw new CSiException();
            }

            geometricNonlinearityType = (eGeometricNonlinearity)csiGeometricNonlinearityType;
        }
        /// <summary>
        /// This function retrieves the geometric nonlinearity option for the specified load case.
        /// </summary>
        /// <param name="name">The name of an existing static nonlinear load case.</param>
        /// <param name="geometricNonlinearityType">The geometric nonlinearity option selected for the load case.</param>
        /// <exception cref="CSiException">API_DEFAULT_ERROR_CODE</exception>
        public void GetGeometricNonlinearity(string name,
                                             ref eGeometricNonlinearity geometricNonlinearityType)
        {
            int csiGeometricNonlinearityType = 0;

            _callCode = _sapModel.LoadCases.DirHistNonlinear.GetGeometricNonlinearity(name, ref csiGeometricNonlinearityType);
            if (throwCurrentApiException(_callCode))
            {
                throw new CSiException(API_DEFAULT_ERROR_CODE);
            }

            geometricNonlinearityType = (eGeometricNonlinearity)csiGeometricNonlinearityType;
        }
Пример #6
0
 /// <summary>
 /// Sets the geometric nonlinearity option for the analysis case.
 /// </summary>
 /// <param name="geometricNonlinearityType">The geometric nonlinearity option selected for the load case.</param>
 /// <exception cref="CSiException"><see cref="CSiApiBase.API_DEFAULT_ERROR_CODE" /></exception>
 public void SetGeometricNonlinearity(eGeometricNonlinearity geometricNonlinearityType)
 {
     _apiApp?.SetGeometricNonlinearity(CaseName, geometricNonlinearityType);
     _geometricNonlinearityType = geometricNonlinearityType;
 }
Пример #7
0
 public void GetGeometricNonlinearity(string name,
                                      ref eGeometricNonlinearity geometricNonlinearityType)
 {
 }
Пример #8
0
 public void SetGeometricNonlinearity(string name,
                                      eGeometricNonlinearity geometricNonlinearityType)
 {
 }