Trouble creating a new Coordinate System

Hey all, working on a script to create auditorium seating. I’m running into trouble modifying coordinate systems. I’m trying to orient all coordinate systems at a parameter so their y-axes point in the same direction along a curve, and all x-axes point toward the stage. This provides a consistent rotation condition for a family instance placed at that point.

For some reason when I try to modify certain coordinate system y-axes, the python node returns a zero-value for new y-vectors…not sure what I’m doing wrong. I’ve grouped the custom nodes in question near the end of the script. I’ve translated the modified coordinate systems vertically for easy comparison; I plan to remove that portion in the future.

Auditorium Seating.dyn (690.8 KB)
Guide Curves.rvt (1.9 MB)