Baseline |
Exception | Condition |
---|---|
ArgumentException | This exception is thrown if the specified name for the Baseline object is null or empty after trimming the string. The exception is thrown if the specified name for the Baseline already exists. The name comparison is not case-sensitive. The exception is thrown if the alignmentId does not point to an instance of the Alignment class, the Alignment does not exist in the same drawing, or the ObjectId is Null. The exception is thrown if the profileId does not point to an instance of the Profile class, the Profile is not referenced by the specified Alignment, or the ObjectId is Null. |
This method adds a new Baseline to the parent Corridor object specifying the name for the baseline and the referenced Alignment and Profile objects.
The specified name must be unique for the parent Corridor object. The name is not case-sensitive.
The Alignment must exist in the same drawing.
The Profile must exist in the same drawing and be referenced by the specified Alignment object.