Transform fiducialNodes by python script

I want to transform some fiducialNodes by transformnode
but i can only get same value of fiducialNodes before transform.

Could you indentify what’s wrong?
The transformNode was created by elastix module


Try using:

narray = slicer.util.arrayFromMarkupsControlPoints(markupsNode, world=True)