Exemplo n.º 1
0
 /// <summary>
 /// This function retrieves the value of a steel design overwrite item.
 /// </summary>
 /// <param name="name">The name of a frame object with a steel frame design procedure.</param>
 /// <param name="item">The overwrite item considered.</param>
 /// <param name="value">The value of the considered overwrite item.</param>
 /// <param name="programDetermined">True: The specified value is program determined.</param>
 /// <exception cref="CSiException">API_DEFAULT_ERROR_CODE</exception>
 public void GetOverwrite(string name,
                          eOverwrites_API_RP2A_WSD_2014 item,
                          ref double value,
                          ref bool programDetermined)
 {
     _callCode = _sapModel.DesignSteel.API_RP2A_WSD2014.GetOverwrite(name, (int)item, ref value, ref programDetermined);
     if (throwCurrentApiException(_callCode))
     {
         throw new CSiException(API_DEFAULT_ERROR_CODE);
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// This function sets the value of a steel design overwrite item.
 /// </summary>
 /// <param name="name">The name of an existing frame object or group, depending on the value of the <paramref name="itemType" /> item.</param>
 /// <param name="item">The overwrite item considered.</param>
 /// <param name="value">The value of the considered overwrite item.</param>
 /// <param name="itemType">If this item is <see cref="eItemType.Object" />, the assignment is made to the frame object specified by the <paramref name="name" /> item.
 /// If this item is <see cref="eItemType.Group" />, the assignment is made to all frame objects in the group specified by the <paramref name="name" /> item.
 /// If this item is <see cref="eItemType.SelectedObjects" />, assignment is made to all selected frame objects, and the <paramref name="name" /> item is ignored.</param>
 /// <exception cref="CSiException">API_DEFAULT_ERROR_CODE</exception>
 public void SetOverwrite(string name,
                          eOverwrites_API_RP2A_WSD_2014 item,
                          double value,
                          eItemType itemType = eItemType.Object)
 {
     _callCode = _sapModel.DesignSteel.API_RP2A_WSD2014.SetOverwrite(name,
                                                                     (int)item, value,
                                                                     EnumLibrary.Convert <eItemType, CSiProgram.eItemType>(itemType));
     if (throwCurrentApiException(_callCode))
     {
         throw new CSiException(API_DEFAULT_ERROR_CODE);
     }
 }
Exemplo n.º 3
0
 public void SetOverwrite(string name,
                          eOverwrites_API_RP2A_WSD_2014 item,
                          double value,
                          eItemType itemType = eItemType.Object)
 {
 }
Exemplo n.º 4
0
 public void GetOverwrite(string name,
                          eOverwrites_API_RP2A_WSD_2014 item,
                          ref double value,
                          ref bool programDetermined)
 {
 }