Exemple #1
0
 /// <summary>
 /// Set the geometry curve used by the ModelCurve
 /// </summary>
 /// <param name="c"></param>
 protected void InternalSetCurve(Autodesk.Revit.DB.Curve c)
 {
     if (!this.InternalCurveElement.GeometryCurve.IsBound && c.IsBound)
     {
         c = c.Clone();
         c.MakeUnbound();
     }
     setCurveMethod(this.InternalCurveElement, c);
 }