BOP Tag In Dynamo for Horizontal pipe

Gooday to all,

I have some issue on getting the location of tagging for pipe work. Tried both curve end points and curves. But still couldn’t get it to work.

Curve end points works only for single pipe. But multiple pipes its not working as i use code block.
My question is how to convert the end points to be the location of the tagging?

probably this might help

this node would be joining the dataset right? i would like the get the x,y,z location of the tag

Error in your graph states that Create Tag node is expecting element but it got a list.
it can happen as List.Create node will create multilevel list and List.Join will output the single level of list if that is being supplied to inputs of List.Join node.