DynamoDS/Dynamo — pull request #2857 by Randy-Ma (2014-10-27 07:14:23+00:00)
Title: [DO NOT MERGE]Fix MAGN-2523 Revit Elements not cleaned up after initial failure of the element creation node

When there are exceptions thrown in the constructor, the partly constructed objects are sometimes still added to the life cycle manager and this will make the related Revit elements not deleted.

This pull request fixes the issue by catching the exceptions which happen in the rebinding process, if there are exceptions, the object will be constructed as if it is newly constructed. It will also catch all the exceptions which happen when the object is constructed.

@lukechurch
PTAL