Sets the region defined by an existing entity in the drawing.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.2516.0
Syntax
C# |
---|
public void SetUserSpecifiedPolygonRegionByEntityId(
ObjectId entityId,
double midOrdinate
) |
Visual Basic |
---|
Public Sub SetUserSpecifiedPolygonRegionByEntityId ( _
entityId As ObjectId, _
midOrdinate As Double _
) |
Visual C++ |
---|
public:
void SetUserSpecifiedPolygonRegionByEntityId(
ObjectId entityId,
double midOrdinate
) |
Parameters
- entityId
- Type: ObjectId
ObjectId of the entity acting as a region.
- midOrdinate
- Type: System..::..Double
The default mid-ordinate length used to get region from the entity.
If the selected object contains arc segments, each segment is tessellated into chord segments. The length of each chord segment is derived from the specified mid-ordinate distance.
Remarks
Exceptions
Exception | Condition |
---|
System..::..ArgumentException |
Thrown when:
- The geometry of entity is not a closed region.
- midOrdinate is not a positive value.
|
See Also