Share

SectionViewBandSetItemCollection.Add(Database, BandType, String) Method

Note: This API is now obsolete.

Creates a new section view band set item with the given band type and name, adds it to the collection, and returns a pointer to the new instance.



Namespace: Autodesk.Civil.DatabaseServices.Styles
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280

Syntax

C#

[ObsoleteAttribute("Use the combination of Autodesk.Civil.DatabaseServices.Styles.BandStyle.GetBandStyleId and Autodesk.Civil.DatabaseServices.Styles.BandSetItemCollection.Add instead.", 
	false)]
public void Add(
	Database database,
	BandType bandType,
	string sectionBandStyleName
)

VB

<ObsoleteAttribute("Use the combination of Autodesk.Civil.DatabaseServices.Styles.BandStyle.GetBandStyleId and Autodesk.Civil.DatabaseServices.Styles.BandSetItemCollection.Add instead.", 
	false)>
Public Sub Add ( 
	database As Database,
	bandType As BandType,
	sectionBandStyleName As String
)

C++

public:
[ObsoleteAttribute(L"Use the combination of Autodesk.Civil.DatabaseServices.Styles.BandStyle.GetBandStyleId and Autodesk.Civil.DatabaseServices.Styles.BandSetItemCollection.Add instead.", 
	false)]
void Add(
	Database^ database, 
	BandType bandType, 
	String^ sectionBandStyleName
)

Parameters

database  Database
The drawing database.
bandType  BandType
The section band type, only ProfileData, HorizontalGeometry, VerticalGeometry, Superelevation, ProfileViewPipeNetwork and ProfileViewSectionalData are valid here.
sectionBandStyleName  String
The section band name.

See Also

Reference

Was this information helpful?