OffsetBaselineSetFeatureLine Method |
Sets the feature line objects associated with this offset baseline.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntaxpublic void SetFeatureLine(
ObjectId horizontalFeatureLineId,
ObjectId verticalFeatureLineId
)
Public Sub SetFeatureLine (
horizontalFeatureLineId As ObjectId,
verticalFeatureLineId As ObjectId
)
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).
ExceptionsException | Condition |
---|
ArgumentException |
Throw exception if:
- horizontalFeatureLineId does not point to an instance of the FeatureLine class.
- horizontalFeatureLineId does not exist in the same drawing of the baseline.
- horizontalFeatureLineId is duplicate with feature line object of main baseline.
- verticalFeatureLineId does not point to an instance of the FeatureLine class.
- verticalFeatureLineId does not exist in the same drawing of the baseline.
- verticalFeatureLineId is duplicate with feature line object of main baseline.
|
See Also