AddUserDefinedCurve Method

Adds user defined curve to this collection.

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

Syntax

C#

public CANTCurve AddUserDefinedCurve(
	AlignmentSubEntity startSubEntity,
	AlignmentSubEntity endSubEntity
)

Visual Basic

Public Function AddUserDefinedCurve ( _
	startSubEntity As AlignmentSubEntity, _
	endSubEntity As AlignmentSubEntity _
) As CANTCurve

Visual C++

public:
CANTCurve^ AddUserDefinedCurve(
	AlignmentSubEntity^ startSubEntity, 
	AlignmentSubEntity^ endSubEntity
)

Parameters

startSubEntity
Type: Autodesk.Civil.DatabaseServices.AlignmentSubEntity
The start sub entity to create CANTCurve.
endSubEntity
Type: Autodesk.Civil.DatabaseServices.AlignmentSubEntity
The end sub entity to create CANTCurve.

Exceptions

ExceptionCondition
[!:System.ArgumentNullException] Thrown when start or end sub entity is null.
System.ArgumentException Thrown when:
  1. When start or end sub entity is not in this alignment.
  2. When sub entities from start to end entity are not connected.
  3. CANT curve already exists between start sub entity and end sub entity.

See Also