As the error says: multi segment dimension thus you need to loop the segments of your dimension.
dim = UnwrapElement(IN[0])
pointtext = dim.Segments
t = []
for i in pointtext:
t.append(i.TextPosition)
OUT = t
4 Likes
Thank you!