ProfileViewBandItemCollectionAdd(BandType, String) Method |
Note: This API is now obsolete.
Creates a new profile view band item with the given band type and name, adds it to the collection.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntax[ObsoleteAttribute("Use the combination of Autodesk.Civil.DatabaseServices.Styles.BandSetItemCollection.GetBandStyleId and Autodesk.Civil.DatabaseServices.Styles.BandSetItemCollection.Add instead.",
false)]
public void Add(
BandType bandType,
string profileBandStyleName
)
<ObsoleteAttribute("Use the combination of Autodesk.Civil.DatabaseServices.Styles.BandSetItemCollection.GetBandStyleId and Autodesk.Civil.DatabaseServices.Styles.BandSetItemCollection.Add instead.",
false)>
Public Sub Add (
bandType As BandType,
profileBandStyleName As String
)
public:
[ObsoleteAttribute(L"Use the combination of Autodesk.Civil.DatabaseServices.Styles.BandSetItemCollection.GetBandStyleId and Autodesk.Civil.DatabaseServices.Styles.BandSetItemCollection.Add instead.",
false)]
void Add(
BandType bandType,
String^ profileBandStyleName
)
Parameters
- bandType BandType
- The profile band type, only ProfileData, HorizontalGeometry, VerticalGeometry, Superelevation, ProfileViewPipeNetwork and ProfileViewSectionalData are valid here.
- profileBandStyleName String
- The profile band name.
See Also