Samples elevation along an existing surface.

Namespace: Autodesk.Civil.Runtime
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.2516.0

Syntax

C#
public SampledSectionLinkCollection SampleSection(
	ObjectId surfaceId,
	ObjectId alignmentId,
	IPoint point1,
	IPoint point2
)
Visual Basic
Public Function SampleSection ( _
	surfaceId As ObjectId, _
	alignmentId As ObjectId, _
	point1 As IPoint, _
	point2 As IPoint _
) As SampledSectionLinkCollection
Visual C++
public:
SampledSectionLinkCollection^ SampleSection(
	ObjectId surfaceId, 
	ObjectId alignmentId, 
	IPoint^ point1, 
	IPoint^ point2
)

Parameters

surfaceId
Type: ObjectId
Target surface.
alignmentId
Type: ObjectId
Source alignment.
point1
Type: Autodesk.Civil.DatabaseServices..::..IPoint
Start sampling at this point.
point2
Type: Autodesk.Civil.DatabaseServices..::..IPoint
End sampling at this point.

Return Value

Returns a collection of links.

See Also