Adds a vertical bend by PVI to pipe run profile with specified station and elevation. If there is no PVI at specified station and elevation, will add a new PVI to pipe run profile.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccPressurePipesMgd (in AeccPressurePipesMgd.dll) Version: 13.4.2516.0

Syntax

C#
public ObjectId AddVerticalBendByPVI(
	double station,
	double elevation
)
Visual Basic
Public Function AddVerticalBendByPVI ( _
	station As Double, _
	elevation As Double _
) As ObjectId
Visual C++
public:
ObjectId AddVerticalBendByPVI(
	double station, 
	double elevation
)

Parameters

station
Type: System..::..Double
Station value of the PVI.
elevation
Type: System..::..Double
Elevation value of the PVI.

Return Value

The object id of the newly added vertical bend.

Remarks

The pipe closest to the specified station and elevation is broken into two pipes and a vertical bend which is best matching their angle is added to connect them. 2D location of the newly added vertical bend is a little different from the station and elevation, since its connected pipes are required to update elevation then adjust its geometry.

See Also