BaselineCollectionAdd(String, ObjectId) Method

Adds a baseline with the given baseline name, feature line.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntax
public Baseline Add(
	string baselineName,
	ObjectId featureLineId
)

Parameters

baselineName  String
Name of the Baseline object to be created.
featureLineId  ObjectId
Object id of the FeatureLine object.

Return Value

Baseline
The newly created Baseline instance.
Exceptions
ExceptionCondition
ArgumentException Throw exception if:
  1. The specified name for the Baseline is empty after it's trimed or it already exists. The name comparison is not case-sensitive.
  2. The feature line does not point to an instance of the FeatureLine class.
  3. The feature line does not exist in the same drawing of the corridor.
See Also