Пример #1
0
 /// <summary>
 /// Retrieves the hinge unloading option for the analysis case.
 /// </summary>
 /// <exception cref="CSiException"><see cref="CSiApiBase.API_DEFAULT_ERROR_CODE" /></exception>
 public void FillHingeUnloading()
 {
     if (_apiApp == null)
     {
         return;
     }
     _hingeUnloadingType = _apiApp.GetHingeUnloading(CaseName);
 }
 /// <inheritdoc />
 /// <summary>
 /// Sets the hinge unloading option for the specified load case.
 /// </summary>
 /// <param name="name">The name of an existing analysis case.</param>
 /// <param name="hingeUnloadingType">Type of hinge unloading for the selected load case.</param>
 /// <exception cref="CSiException"><see cref="CSiApiBase.API_DEFAULT_ERROR_CODE" /></exception>
 public void SetHingeUnloading(string name,
                               eHingeUnloadingType hingeUnloadingType)
 {
     _callCode = _sapModel.LoadCases.StaticNonlinear.SetHingeUnloading(name, (int)hingeUnloadingType);
     if (throwCurrentApiException(_callCode))
     {
         throw new CSiException(API_DEFAULT_ERROR_CODE);
     }
 }
Пример #3
0
        /// <summary>
        /// This function retrieves the hinge unloading option for the specified load case.
        /// </summary>
        /// <param name="name">The name of an existing analysis case.</param>
        /// <param name="hingeUnloadingType">Type of hinge unloading for the selected load case.</param>
        /// <exception cref="CSiException"></exception>
        public void GetHingeUnloading(string name,
                                      ref eHingeUnloadingType hingeUnloadingType)
        {
            int csiHingeUnloadingType = 0;

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

            hingeUnloadingType = (eHingeUnloadingType)csiHingeUnloadingType;
        }
Пример #4
0
 /// <summary>
 /// Sets the hinge unloading option for the analysis case.
 /// </summary>
 /// <param name="hingeUnloadingType">LoadType of hinge unloading for the selected load case.</param>
 /// <exception cref="CSiException"><see cref="CSiApiBase.API_DEFAULT_ERROR_CODE" /></exception>
 public void SetHingeUnloading(eHingeUnloadingType hingeUnloadingType)
 {
     _apiApp?.SetHingeUnloading(CaseName, hingeUnloadingType);
     _hingeUnloadingType = hingeUnloadingType;
 }
Пример #5
0
 public void GetHingeUnloading(string name,
                               ref eHingeUnloadingType hingeUnloadingType)
 {
 }
Пример #6
0
 public void SetHingeUnloading(string name,
                               eHingeUnloadingType hingeUnloadingType)
 {
 }