Add Method

Adds a new split location.

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

Syntax

C#

public ProfileViewSplitData Add(
	double rawStation,
	double datum
)

Visual Basic

Public Function Add ( _
	rawStation As Double, _
	datum As Double _
) As ProfileViewSplitData

Visual C++

public:
ProfileViewSplitData^ Add(
	double rawStation, 
	double datum
)

Parameters

rawStation
Type: System.Double
Specifies the station of the split location.
datum
Type: System.Double
Specifies the elevation of the split location.

Exceptions

ExceptionCondition
System.ArgumentException Thrown when:
  1. The input station is beyond the station range of the profile view.
  2. A split data item exists at the input station.
System.InvalidOperationException Thrown when the property ProfileView::SplitProfileView is set to false.

See Also