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 an Alignment with the specified name does not exist, the string is null, or the string is empty after trimming. The exception is thrown if a Profile with the specified name does not exist, it is not referenced by the specified Alignment, or the profile name specified is null or empty after trimming. |
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.
An Alignment with the specified name must exist in the drawing.
A Profile with the specified name must exist in the drawing and be referenced by the specified Alignment object.