SurfaceSimplifyOptionsSetUserSpecifiedPolygonRegionByEntityId Method |
Sets the region defined by an existing entity in the drawing.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntaxpublic void SetUserSpecifiedPolygonRegionByEntityId(
ObjectId entityId,
double midOrdinate
)
Public Sub SetUserSpecifiedPolygonRegionByEntityId (
entityId As ObjectId,
midOrdinate As Double
)
public:
void SetUserSpecifiedPolygonRegionByEntityId(
ObjectId entityId,
double midOrdinate
)
Parameters
- entityId ObjectId
- ObjectId of the entity acting as a region.
- midOrdinate 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.
ExceptionsException | Condition |
---|
ArgumentException |
Thrown when:
- The geometry of entity is not a closed region.
- midOrdinate is not a positive value.
|
Remarks
A user specified region only takes effect when RegionOption is SurfaceSimplifyRegionType.UserSpecified.
See Also