No indeed I didn’t, but then Fiducial Registration Wizard is not the same as the Fiducial Registration module that there is on the classic version of Slicer? Because that is the one I wish to use.
Searching a bit, I found that the following code works to create a transform from 2 lists of fiducials :
transformNode = slicer.mrmlScene.AddNewNodeByClass("vtkMRMLLinearTransformNode")
transformNode.SetName("Registration Transform")
parameters = {}
parameters["saveTransform"] = transformNode.GetID()
parameters["movingLandmarks"] = self.VariableMarkupsNode.GetID() # fiducial points
parameters["fixedLandmarks"] = self.FixedMarkupsNode.GetID() # fiducial points
fiduciaReg = slicer.modules.fiducialregistration
slicer.cli.runSync(fiduciaReg, None, parameters) # run the registration
Precision : the code is not mine, I found it here.
I have now to find how to apply the transform to the volume I wish to move