DynamoDS/Dynamo — pull request #2854 by Randy-Ma (2014-10-27 07:07:40+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 submission fixes the issue by attempting to catch all the exceptions and remove the partly constructed objects from the life cycle manager.

@lukechurch
PTAL