Adds a bend by adding a PI to pipe run path with a specified point.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccPressurePipesMgd (in AeccPressurePipesMgd.dll) Version: 13.4.2516.0
Syntax
C# |
---|
public ObjectId AddBendByPI( Point2d point2d ) |
Visual Basic |
---|
Public Function AddBendByPI ( _ point2d As Point2d _ ) As ObjectId |
Visual C++ |
---|
public: ObjectId AddBendByPI( Point2d point2d ) |
Parameters
- point2d
- Type: Point2d
2D point as PI location.
Return Value
The object id of the newly added bend.
Remarks
The pipe closest to the specified point is broken into two pipes
and a bend that is best matching their angle is added to connect them.
2D location of the newly added bend is a little different from the specified point,
because its connected pipes are required to be strictly along the path by adjusting bend geometry.