Set location of text element

Hello all,

I’m trying to relocate a few text elements. In the Revit API I can find this coord property which mentions a get and set.

Does anyone know if it possible to use this set functionality?
This is what I’ve got thus far:

elements = UnwrapElement(IN[0])
newloc = UnwrapElement(IN[1])
newlocs = []
listout = []

for x in newloc:
	newlocs.append(x.ToXyz())

TransactionManager.Instance.EnsureInTransaction(doc)
for i,e in enumerate(elements):
	loc = e.Coord
	
	#this doesn't work:
	new = e.set(newlocs[i])
	
	#nor does this:
	new2 = loc.set(newlocs[i])

TransactionManager.Instance.TransactionTaskDone()

OUT = listout

Do something like this:

e.Coord = newLocks[i]

Great, thanks!
Easier than I thought :slight_smile: