Adds a region with the given region name and assembly after the last region.
Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280
Syntax
C#
public BaselineRegion Add( string regionName, ObjectId assemblyId )
VB
Public Function Add ( regionName As String, assemblyId As ObjectId ) As BaselineRegion
C++
public: BaselineRegion^ Add( String^ regionName, ObjectId assemblyId )
Parameters
- regionName String
- Name of the created region.
- assemblyId ObjectId
- Object id of the assembly used to create the region.
Return Value
BaselineRegionExceptions
Exception | Condition |
---|---|
ArgumentException | Thrown when the assembly id is invalid. |
InvalidOperationException | Thrown when the last BaselineRegion's EndStation is equal to Baseline's EndStaion. |