OffsetBaselineSetFeatureLine Method

Sets the feature line objects associated with this offset baseline.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntax
public void SetFeatureLine(
	ObjectId horizontalFeatureLineId,
	ObjectId verticalFeatureLineId
)

Parameters

horizontalFeatureLineId  ObjectId
FeatureLine object for horizontal baseline (null not allowed). To set horizontal baseline to null object, call SetAlignmentAndProfile(ObjectId, ObjectId) instead.
verticalFeatureLineId  ObjectId
FeatureLine object for vertical baseline (null allowed).
Exceptions
ExceptionCondition
ArgumentException Throw exception if:
  1. horizontalFeatureLineId does not point to an instance of the FeatureLine class.
  2. horizontalFeatureLineId does not exist in the same drawing of the baseline.
  3. horizontalFeatureLineId is duplicate with feature line object of main baseline.
  4. verticalFeatureLineId does not point to an instance of the FeatureLine class.
  5. verticalFeatureLineId does not exist in the same drawing of the baseline.
  6. verticalFeatureLineId is duplicate with feature line object of main baseline.
See Also