Ejemplo n.º 1
0
 public void GetSuperstructureCutTendonValues(string name,
                                              int cutIndex,
                                              int tendonIndex,
                                              eTendonCutItem tendonCutItem,
                                              ref double tendonCutValue)
 {
 }
Ejemplo n.º 2
0
 /// <summary>
 /// This function returns an individual section property for a single tendon at a single superstructure section cut in a bridge object. <para/>
 /// These properties are calculated for the section before skew, grade, and superstructure elevation are applied. <para/>
 /// Coordinate values are measured from the lower-left corner of the section bounding-box. <para/>
 /// X is positive to the right when looking upstation, and Y is positive upward.<para/>
 /// If the bridge object is not currently linked to existing objects in the model, an error is returned.
 /// TODO: Handle this.
 /// </summary>
 /// <param name="name">The name of an existing bridge object.</param>
 /// <param name="cutIndex">The index number of the section cut in this bridge object. <para/>
 /// This must be from 0 to Count-1, where Count is the value returned by the function <see cref="Superstructure.CountSuperstructureCut"/>. <para/>
 /// Section cuts will be in order of increasing station and increasing location as defined in the <see cref="Superstructure.GetSuperstructureCutLocation"/>.</param>
 /// <param name="tendonIndex">The index number of a tendon in this section cut of this bridge object.
 /// This must be from 0 to CountTendon-1, where CountTendon is the number of tendons returned by the function <see cref="GetSuperstructureCutSectionValues"/> using Item = <see cref="eSectionCutItem.NumberOfTendons"/>.</param>
 /// <param name="tendonCutItem">The type of property value to be gotten.</param>
 /// <param name="tendonCutValue">The value of the requested item:<para/>
 /// <see cref="eTendonCutItem.XCoordinate"/>: Any value OK. [L]<para/>
 /// <see cref="eTendonCutItem.YCoordinate"/>: Any value OK. [L]<para/>
 /// <see cref="eTendonCutItem.Diameter"/>: Value &gt;= 0. [L]<para/>
 /// <see cref="eTendonCutItem.BondingType"/>: 1 = Bonded, 2 = Unbonded. <para/>
 /// <see cref="eTendonCutItem.Slope"/>: Any value OK. [L/L]</param>
 public void GetSuperstructureCutTendonValues(string name,
                                              int cutIndex,
                                              int tendonIndex,
                                              eTendonCutItem tendonCutItem,
                                              ref double tendonCutValue)
 {
     _callCode = _sapModel.BridgeAdvancedSuper.BASConcBox.GetSuperCutTendonValues(name, cutIndex, tendonIndex, (int)tendonCutItem, ref tendonCutValue);
     if (throwCurrentApiException(_callCode))
     {
         throw new CSiException(API_DEFAULT_ERROR_CODE);
     }
 }