OffsetBaselineSetFeatureLine Method

Sets the feature line objects associated with this offset baseline.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.9.0.960
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. horizontalFeatureLineId is a feature line created by grading operations.
  5. verticalFeatureLineId does not point to an instance of the FeatureLine class.
  6. verticalFeatureLineId does not exist in the same drawing of the baseline.
  7. verticalFeatureLineId is duplicate with feature line object of main baseline.
  8. verticalFeatureLineId is a feature line created by grading operations.
See Also