Share

CorridorSlopePattern.GetGeometries(Int32) Method

Gets an in-memory DBObjectCollection that are drawn in the canvas within a corridor region of this CorridorSlopePattern.



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

Syntax

C#

public DBObjectCollection GetGeometries(
	int regionIndex
)

VB

Public Function GetGeometries ( 
	regionIndex As Integer
) As DBObjectCollection

C++

public:
DBObjectCollection^ GetGeometries(
	int regionIndex
)

Parameters

regionIndex  Int32
 

Return Value

DBObjectCollection

Exceptions

ExceptionCondition
ArgumentOutOfRangeException Thrown when the regionIndex is less than zero, or greater than/equal to the total region count of FeatureLine1's baseline.

Remarks

The result entities could be:
  • Line
  • Polyline with elevation
  • Polyline3d
  • BlockReference
It's recommended to call Dispose() on the returned DBObjectCollection once they are not needed.

See Also

Reference

Was this information helpful?