Creates an Region with the given region name and the assembly object id.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 10.0.1111.0
Syntax
C# |
---|
public void AddRegion(
string regionName,
ObjectId assemblyId
) |
Visual Basic |
---|
Public Sub AddRegion ( _
regionName As String, _
assemblyId As ObjectId _
) |
Visual C++ |
---|
public:
void AddRegion(
String^ regionName,
ObjectId assemblyId
) |
Parameters
- regionName
- Type: System..::..String
Name of the created region.
- assemblyId
- Type: ObjectId
Object id of the assembly used to create the region.
Remarks
Exceptions
Exception | Condition |
---|
System..::..ArgumentException |
Thrown when the assembly id is invalid.
|
See Also