This is not for a client, I am just trying to get better educated:
I do not see a lot of spray foam, in the walls, in new construction around here; so I have never thought about this before. The insulator spray foamed (closed cell) all of the roughed in romex. The city inspector was giving the electrician a hard time about it, but passed it. I guess the inspector was concerned about heat buildup because of the foam encasing the wiring, which is why he was giving the electrician a hard time.
Would there be significant heat buildup? Is there anything in the current code cycle that would prevent spray foam over romex? Has anyone heard of any issues because of this?