Ejemplo n.º 1
0
 public void GetSuperstructureCutWebValues(string name,
                                           int cutIndex,
                                           int webIndex,
                                           eWebCutItem webCutItem,
                                           ref double webCutValue)
 {
 }
Ejemplo n.º 2
0
 /// <summary>
 /// This function returns an individual section property for a single web 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. X is positive to the right when looking upstation, and Y is positive upward.<para/>
 /// An error is returned for items <see cref="eWebCutItem.MinTopSlabThickness"/>, <see cref="eWebCutItem.MinBottomSlabThickness"/>, <see cref="eWebCutItem.TopWidthOfCell"/> and <see cref="eWebCutItem.BottomWidthOfCell"/> if the <paramref name="webIndex"/> is specified as 0.<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="webIndex">The index number of a web in this section cut of this bridge object. <para/>
 /// This must be from 0 to CountWeb-1, where CountWeb is the number of webs returned by the function <see cref="GetSuperstructureCutSectionValues"/> using Item = <see cref="eSectionCutItem.NumberOfGirdersOrWebs"/>. <para/>
 /// Webs count from left to right when looking upstation.</param>
 /// <param name="webCutItem">The type of property value to be gotten.</param>
 /// <param name="webCutValue">The value of the requested item:<para/>
 /// <see cref="eWebCutItem.AngleFromVertical"/>: Abs(<paramref name="webCutValue"/>) &gt; 90. [deg]<para/>
 /// <see cref="eWebCutItem.MinHorizontalWebThickness"/>: <paramref name="webCutValue"/> &gt; 0. [L]<para/>
 /// <see cref="eWebCutItem.MinTopSlabThickness"/>: <paramref name="webCutValue"/> &gt; 0. [L]<para/>
 /// <see cref="eWebCutItem.MinBottomSlabThickness"/>: <paramref name="webCutValue"/> &gt; 0. [L]<para/>
 /// <see cref="eWebCutItem.TopWidthOfCell"/>: <paramref name="webCutValue"/> &gt;= 0. [L]<para/>
 /// <see cref="eWebCutItem.BottomWidthOfCell"/>: <paramref name="webCutValue"/> &gt;= 0. [L]</param>
 public void GetSuperstructureCutWebValues(string name,
                                           int cutIndex,
                                           int webIndex,
                                           eWebCutItem webCutItem,
                                           ref double webCutValue)
 {
     _callCode = _sapModel.BridgeAdvancedSuper.BASConcBox.GetSuperCutWebValues(name, cutIndex, webIndex, (int)webCutItem, ref webCutValue);
     if (throwCurrentApiException(_callCode))
     {
         throw new CSiException(API_DEFAULT_ERROR_CODE);
     }
 }