Revit Batch Processor

  1. Save the graph (step 3 can occasionally crash due to conflicts in name spaces)
  2. Select a bunch of nodes
  3. Right click on the background (not a node) and choose ‘node to code’
  4. Re-run the graph and verify results match (99% of the time they do)
  5. Update the code as needed to reduce the amount of outputs, reducing the overhead and system requirements in most cases

This example should help. Note that the offsets are not required to read like that, but it helps me understand where in my functions I have gotten. Also some of the coding could be simpler (ie no brackets around the range, the ..1 is also redundant).

1 Like