Gets or sets the length of the region.

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

Syntax

C#
public double Length { get; set; }
Visual Basic
Public Property Length As Double
	Get
	Set
Visual C++
public:
property double Length {
	double get ();
	void set (double value);
}

Remarks

  1. Changing the Length value will modify the EndStation value of the region.
  2. Changing the Length value will modify the StartStation of ExitTransition.
  3. Changing the Length value might affect the Length and StartStaion of the next region.

Exceptions

ExceptionCondition
System..::..ArgumentException Thrown when:
  1. The value is less than or equal to 0.
  2. The value greater than or equal to the current length plus next region's length.
System..::..InvalidOperationException Thrown when:
  1. The RegionType of current region is AlignmentRegionType.Automatic.
  2. The current region has the next region and next region's start station can not be set.
  3. The current region is the last one and previous region's end station can not be set.

See Also