BaselineCollectionAdd(String, ObjectId) Method |
Adds a baseline with the given baseline name, feature line.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntaxpublic Baseline Add(
string baselineName,
ObjectId featureLineId
)
Public Function Add (
baselineName As String,
featureLineId As ObjectId
) As Baseline
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
BaselineThe newly created
Baseline instance.
ExceptionsException | Condition |
---|
ArgumentException |
Throw exception if:
- The specified name for the Baseline is empty after it's trimed or it already exists. The name comparison is not case-sensitive.
- The feature line does not point to an instance of the FeatureLine class.
- The feature line does not exist in the same drawing of the corridor.
|
See Also