BaselineRegionCollectionAdd(String, ObjectId, Double, Double) Method |
Adds a region at the specified start and end station with the given name and assembly.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntaxpublic BaselineRegion Add(
string regionName,
ObjectId assemblyId,
double startStation,
double endStation
)
Public Function Add (
regionName As String,
assemblyId As ObjectId,
startStation As Double,
endStation As Double
) As BaselineRegion
public:
BaselineRegion^ Add(
String^ regionName,
ObjectId assemblyId,
double startStation,
double endStation
)
Parameters
- regionName String
- Name of the created region.
- assemblyId ObjectId
- Object id of the assembly used to create region.
- startStation Double
-
- endStation Double
- The end station used to create region.
Return Value
BaselineRegion
ExceptionsException | Condition |
---|
ArgumentException |
Thrown when:
- The start or end station is invalid.
- The region name or assembly id is invalid.
|
See Also