Creates an AlignmentArc entity defined by a previous entity and a pass-through point.

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

Syntax

C#
public AlignmentArc AddFixedCurve(
	int previousEntityId,
	Point3d passThroughPoint
)
Visual Basic
Public Function AddFixedCurve ( _
	previousEntityId As Integer, _
	passThroughPoint As Point3d _
) As AlignmentArc
Visual C++
public:
AlignmentArc^ AddFixedCurve(
	int previousEntityId, 
	Point3d passThroughPoint
)

Parameters

previousEntityId
Type: System..::..Int32
Previous entity identifier.
passThroughPoint
Type: Point3d
Passthrough point of the AlignmentArc entity.

Examples

CopyC#
1Alignment myAlignment = ts.GetObject(res.ObjectId, OpenMode.ForWrite) as Alignment;
2Int32 previousEntityId = myAlignment.Entities.LastEntity;
3Point3d passThroughPoint = new Point3d(7930.2822, 15744.28, 0);
4AlignmentArc retVal = myAlignment.Entities.AddFixedCurve(previousEntityId, passThroughPoint);
5if (retVal == null)
6{
7    ed.WriteMessage("AddFixedCurve failed.");
8}

See Also