Share

SurfaceSimplifyOptions.SetUserSpecifiedPolygonRegionByEntityId Method

Sets the region defined by an existing entity in the drawing.



Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280

Syntax

C#

public void SetUserSpecifiedPolygonRegionByEntityId(
	ObjectId entityId,
	double midOrdinate
)

VB

Public Sub SetUserSpecifiedPolygonRegionByEntityId ( 
	entityId As ObjectId,
	midOrdinate As Double
)

C++

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.

Exceptions

ExceptionCondition
ArgumentException Thrown when:
  1. The geometry of entity is not a closed region.
  2. midOrdinate is not a positive value.

Remarks

A user specified region only takes effect when RegionOption is SurfaceSimplifyRegionType.UserSpecified.

See Also

Reference

Was this information helpful?