Linked Room boundaries being bounded by linked elements

The zip file here has a sample graph to generate a playable journal which will run a Dynamo graph on a correctly named .rvt. You can look at how that is structured to generate something which meets your needs.