Posted below is a pre-processing module I’m making to then feed into a whole bunch of sheet creation logic, the end result of which is intended to be deployed to the Dynamo Player for the project. The problem I’m having is that sheets keep generating even if the logic of the module fails correctly. This creates many erroneous useless sheets in REVIT.
The module doesn’t need to strictly return text errors but it is helpful for teammates. What I really don’t want the module to do is execute and create a whole bunch of erroneous sheets. I keep reorganizing and reorganizing the nodes but am not getting the results I want. I’d prefer it to just fully stop when it fails and return the error but perhaps I’m asking too much (still love Dynamo tho). Can anyone offer any ideas about how they would approach this? I’m on REVIT 2017.2 and Dynamo 1.3.2.