Share

AlignmentRegion.Length Property

Gets or sets the length of the region.



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

Syntax

C#

public double Length { get; set; }

VB

Public Property Length As Double
	Get
	Set

C++

public:
property double Length {
	double get ();
	void set (double value);
}

Property Value

Double

Exceptions

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

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.

See Also

Reference

Was this information helpful?