Revision history  [back]

This is unverified C# code, but the following code is close to the c++ code snippet in the question.

node = model.toNode(airLoop.zoneSplitter().lastOutletModelObject().get()).get()

That paradigm I know works for the Python bindings, which do not have the helper functionality of the Ruby bindings.

If you want to add a terminal and ThermalZone at the same time, use @Kyle Benne advice on addBranchForZone.

This answer is similar to @Kyle Benne

This is unverified C# code, but the following code is close closer to the c++ code snippet in the question.

node = model.toNode(airLoop.zoneSplitter().lastOutletModelObject().get()).get()

That paradigm I know works for the Python bindings, which do not have the helper functionality of the Ruby bindings.

If you want to add a terminal and ThermalZone at the same time, use @Kyle Benne Kyle's advice on addBranchForZone.