TextCoord to Object Position?

Hi! I’m trying to create procedural lines but in Object/World Position. TextCoord works fine, but I need them to be at the object position and maybe have an option for world position.
Is this possible?

up?