DynamoDS/Dynamo — pull request #3022 by Randy-Ma (2014-11-10 06:18:58+00:00)
Title: Fix MAGN-5374

Summary

There are some warnings caused by obsoleted functions when building the master branch. The obsoleted functions are:
Autodesk.Revit.Creation.Application.NewLineBound(Autodesk.Revit.DB.XYZ, Autodesk.Revit.DB.XYZ)
Autodesk.Revit.Creation.ItemFactoryBase.NewSketchPlane(Autodesk.Revit.DB.Plane)
Autodesk.Revit.DB.Document.Delete(Autodesk.Revit.DB.Element)

This submission updates the functions to use the newer version:
Use Line.CreateBound instead of Application.NewLineBound
Use SketchPlane.Create instead of FamilyCreate.NewSketchPlane
Use Delete(ElementId) instead of Delete(Element)

@ikeough
PTAL