/// <summary> /// This function retrieves the hysteretic damping type for the specified load case. /// </summary> /// <param name="name">The name of an existing power spectral density load case.</param> /// <param name="dampingType">The hysteretic damping type for the load case.</param> /// <exception cref="CSiException">API_DEFAULT_ERROR_CODE</exception> public void GetDampingType(string name, ref eDampingTypeHysteretic dampingType) { int csiDampingType = 0; _callCode = _sapModel.LoadCases.PSD.GetDampType(name, ref csiDampingType); if (throwCurrentApiException(_callCode)) { throw new CSiException(API_DEFAULT_ERROR_CODE); } dampingType = (eDampingTypeHysteretic)csiDampingType; }
/// <summary> /// This function retrieves the hysteretic damping type for the specified load case. /// </summary> /// <param name="name">The name of an existing steady state load case.</param> /// <param name="dampingType">The hysteretic damping type for the load case.</param> /// <exception cref="CSiException"></exception> public void GetDampingType(string name, ref eDampingTypeHysteretic dampingType) { int csiDampingType = 0; _callCode = _sapModel.LoadCases.SteadyState.GetDampType(name, ref csiDampingType); if (throwCurrentApiException(_callCode)) { throw new CSiException(); } dampingType = (eDampingTypeHysteretic)csiDampingType; }
public void GetDampingType(string name, ref eDampingTypeHysteretic dampingType) { }