Share

CANTCurveCollection.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 CANTCurve AddUserDefinedCurve(
	AlignmentSubEntity startSubEntity,
	AlignmentSubEntity endSubEntity
)

VB

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

C++

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

Parameters

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

Return Value

CANTCurve

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. CANT 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. CANT curve already exists between start sub entity and end sub entity.

See Also

Reference

Was this information helpful?