Adds a region with the given region name and assembly after the last region.
public BaselineRegion Add( string regionName, ObjectId assemblyId )
Public Function Add ( regionName As String, assemblyId As ObjectId ) As BaselineRegion
public: BaselineRegion^ Add( String^ regionName, ObjectId assemblyId )
| Exception | Condition |
|---|---|
| ArgumentException | Thrown when the assembly id is invalid. |
| InvalidOperationException | Thrown when the last BaselineRegion's EndStation is equal to Baseline's EndStaion. |