예제 #1
0
 /// <summary>
 /// This function returns an individual section property 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="cutSectionItem">The type of property value to be gotten.</param>
 /// <param name="sectionCutValue">The value of the requested item:<para/>
 /// <see cref="eSectionCutItem.NumberOfGirdersOrWebs"/>: <paramref name="sectionCutValue"/> &gt;= 0, integral.<para/>
 /// <see cref="eSectionCutItem.DesignAreaOfTopSlab"/>: <paramref name="sectionCutValue"/> &gt; 0, [L^2].<para/>
 /// <see cref="eSectionCutItem.DesignAreaOfBottomSlab"/>: <paramref name="sectionCutValue"/> &gt;= 0, [L^2].<para/>
 /// <see cref="eSectionCutItem.WidthOfTopSlab"/>: <paramref name="sectionCutValue"/> &gt; 0, [L].<para/>
 /// <see cref="eSectionCutItem.WidthOfBottomSlab"/>: <paramref name="sectionCutValue"/> &gt;= 0, [L].<para/>
 /// <see cref="eSectionCutItem.XCoordinateOfTopSlabCentroid"/>: Any value is valid. [L].<para/>
 /// <see cref="eSectionCutItem.XCoordinateOfBottomSlabCentroid"/>: Any value is valid. [L].<para/>
 /// <see cref="eSectionCutItem.YCoordinateOfTopSlabCentroid"/>: <paramref name="sectionCutValue"/> &gt;= 0, [L].<para/>
 /// <see cref="eSectionCutItem.YCoordinateOfBottomSlabCentroid"/>: <paramref name="sectionCutValue"/> &lt;= 0, [L].<para/>
 /// <see cref="eSectionCutItem.AreaInsideTorsionCircuit"/>: <paramref name="sectionCutValue"/> &gt;= 0, [L^2].<para/>
 /// <see cref="eSectionCutItem.LengthOfTorsionCircuit"/>: <paramref name="sectionCutValue"/> &gt;= 0, [L].<para/>
 /// <see cref="eSectionCutItem.NumberOfTendons"/>: <paramref name="sectionCutValue"/> &gt;= 0.<para/>
 /// <see cref="eSectionCutItem.TopOutsideWidthOfTorsionCircuit"/>: <paramref name="sectionCutValue"/> &gt; 0, [L].<para/>
 /// <see cref="eSectionCutItem.BottomOutsideWidthOfTorsionCircuit"/>: <paramref name="sectionCutValue"/> &gt; 0, [L].<para/>
 /// <see cref="eSectionCutItem.LeftOutsideLengthOfTorsionCircuit"/>: <paramref name="sectionCutValue"/> &gt; 0, [L].<para/>
 /// <see cref="eSectionCutItem.RightOutsideLengthOfTorsionCircuit"/>: <paramref name="sectionCutValue"/> &gt; 0, [L].<para/></param>
 public void GetSuperstructureCutSectionValues(string name,
                                               int cutIndex,
                                               eSectionCutItem cutSectionItem,
                                               ref double sectionCutValue)
 {
     _callCode = _sapModel.BridgeAdvancedSuper.BASConcBox.GetSuperCutSectionValues(name, cutIndex, (int)cutSectionItem, ref sectionCutValue);
     if (throwCurrentApiException(_callCode))
     {
         throw new CSiException(API_DEFAULT_ERROR_CODE);
     }
 }
예제 #2
0
 public void GetSuperstructureCutSectionValues(string name,
                                               int cutIndex,
                                               eSectionCutItem cutSectionItem,
                                               ref double sectionCutValue)
 {
 }