Adds user defined curve to this collection.
Adds user defined curve to this collection.

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

Syntax

C#
public SuperelevationCurve AddUserDefinedCurve(
	AlignmentSubEntity startSubEntity,
	AlignmentSubEntity endSubEntity
)
Visual Basic
Public Function AddUserDefinedCurve ( _
	startSubEntity As AlignmentSubEntity, _
	endSubEntity As AlignmentSubEntity _
) As SuperelevationCurve
Visual C++
public:
SuperelevationCurve^ AddUserDefinedCurve(
	AlignmentSubEntity^ startSubEntity, 
	AlignmentSubEntity^ endSubEntity
)

Parameters

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

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. Super elevation curve already exists between start sub entity and end sub entity.
[!: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. Super elevation curve already exists between start sub entity and end sub entity.

See Also