Gets or sets the length of the region.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 10.0.1111.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 changing the value but the RegionType is AlignmentRegionType.Automatic.

See Also