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.8.0.280
Syntax
C#
public AlignmentArc AddFixedCurve( int previousEntityId, Point3d passThroughPoint )
VB
Public Function AddFixedCurve ( previousEntityId As Integer, passThroughPoint As Point3d ) As AlignmentArc
C++
public: AlignmentArc^ AddFixedCurve( int previousEntityId, Point3d passThroughPoint )
Parameters
- previousEntityId Int32
- Previous entity identifier.
- passThroughPoint Point3d
- Passthrough point of the AlignmentArc entity.
Return Value
AlignmentArcExample
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}