Adds a baseline with the given baseline name, alignment and profile.

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

Syntax

C#
public Baseline Add(
	string baselineName,
	ObjectId alignmentId,
	ObjectId profileId
)
Visual Basic
Public Function Add ( _
	baselineName As String, _
	alignmentId As ObjectId, _
	profileId As ObjectId _
) As Baseline
Visual C++
public:
Baseline^ Add(
	String^ baselineName, 
	ObjectId alignmentId, 
	ObjectId profileId
)

Parameters

baselineName
Type: System..::..String
Name of the baseline to be created.
alignmentId
Type: ObjectId
ObjectId of the alignment used to create the baseline.
profileId
Type: ObjectId
ObjectId of the profile used to create the baseline.

Exceptions

ExceptionCondition
System..::..ArgumentException Thrown when the specified baseline name, alignment id or profile id is invalid.

See Also