/// <summary> /// Returns the value of a steel design preference item. /// </summary> /// <param name="item">The preference item considered.</param> /// <param name="value">The value of the considered preference item.</param> /// <exception cref="CSiException"><see cref="CSiApiBase.API_DEFAULT_ERROR_CODE" /></exception> public void GetPreference(ePreferences_NZS_3404_1997 item, ref double value) { _callCode = _sapModel.DesignSteel.NewZealand_NZS3404_97.GetPreference((int)item, ref value); if (throwCurrentApiException(_callCode)) { throw new CSiException(API_DEFAULT_ERROR_CODE); } }
/// <summary> /// This function sets the value of a steel design preference item. /// </summary> /// <param name="item">The preference item considered.</param> /// <param name="value">The value of the considered preference item.</param> /// <exception cref="CSiException"></exception> public void SetPreference(ePreferences_NZS_3404_1997 item, double value) { _callCode = _sapModel.DesignSteel.NewZealand_NZS3404_97.SetPreference((int)item, value); if (throwCurrentApiException(_callCode)) { throw new CSiException(); } }
public void SetPreference(ePreferences_NZS_3404_1997 item, double value) { }