Adds a region at the specified start and end station with the given name and assembly.

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

Syntax

C#
public BaselineRegion Add(
	string regionName,
	string assemblyName,
	double startStation,
	double endStation
)
Visual Basic
Public Function Add ( _
	regionName As String, _
	assemblyName As String, _
	startStation As Double, _
	endStation As Double _
) As BaselineRegion
Visual C++
public:
BaselineRegion^ Add(
	String^ regionName, 
	String^ assemblyName, 
	double startStation, 
	double endStation
)

Parameters

regionName
Type: System..::..String
Name of the created region.
assemblyName
Type: System..::..String
Name of the assembly used to create region.
startStation
Type: System..::..Double
endStation
Type: System..::..Double
The end station used to create region.

Exceptions

ExceptionCondition
System..::..ArgumentException Thrown when:
  • The start or end station is invalid.
  • The region name or assembly name is invalid.

See Also