Share

BaselineRegionCollection.Add(String, String, Double, Double) Method

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.8.0.280

Syntax

C#

public BaselineRegion Add(
	string regionName,
	string assemblyName,
	double startStation,
	double endStation
)

VB

Public Function Add ( 
	regionName As String,
	assemblyName As String,
	startStation As Double,
	endStation As Double
) As BaselineRegion

C++

public:
BaselineRegion^ Add(
	String^ regionName, 
	String^ assemblyName, 
	double startStation, 
	double endStation
)

Parameters

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

Return Value

BaselineRegion

Exceptions

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

See Also

Reference

Was this information helpful?