GeniusLoci nodes integration

Dear all,
I’m trying to create automatic dimensions of pipes in 3D view. One thing is really a pain. If you want to create dimensions in 3D view you must generate reference planes and then for each dimension you must use the proper plane otherwise your dimensions will be all over the place. Genius loci have a node for creating a reference plane and also a node for creating dimensions. The input for both nodes is the same (line). So if someone knows how we can integrate those two nodes in a way that each dimension took one plane that would be great. Of course, we are talking that I will provide the same number of lines and references. So dimension node needs to take the first line, first set of dimensions and first plane (index 0), then i=i+1 and again it needs to take line, plane and set of references with index 1, etc.