Share

SuperelevationCurveCollection.AddUserDefinedCurve Method

Adds user defined curve to this collection.



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

Syntax

C#

public SuperelevationCurve AddUserDefinedCurve(
	AlignmentSubEntity startSubEntity,
	AlignmentSubEntity endSubEntity
)

VB

Public Function AddUserDefinedCurve ( 
	startSubEntity As AlignmentSubEntity,
	endSubEntity As AlignmentSubEntity
) As SuperelevationCurve

C++

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

Parameters

startSubEntity  AlignmentSubEntity
The start sub entity to create SuperelevationCurve.
endSubEntity  AlignmentSubEntity
The end sub entity to create SuperelevationCurve.

Return Value

SuperelevationCurve

Exceptions

ExceptionCondition
[!:System.ArgumentNullException] Thrown when start or end sub entity is null.
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.
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

Reference

Was this information helpful?