How to extract tag number of a line based on its points
In Python API of gmsh, I am connecting several points through a for loop to create lines. I Want to find the tag number of some lines that are created almost in the middle of my for loop. I know the tag number of points creating that lines. Is it possible to find the tag number of a line based on the it points? In case of being possible, I appreciate if anyone let me know how I can do that. In advance, I do appreciate any help.