Align (Move references to match) two objects by refrence

Hi, I am trying to align family instances to the exterior face of a wall.

I can’t find a way to do that, no Revit API method no custom node.

I was trying the creat.NewAligment method but it does not translate the objects it just locks the alignment when the objects are aligned.

I can get the references I need from the objects but If a try Reference.UVPoint or Reference.GlobalPoint I get a Null result. So I can’t move them eighter.

Any ideas?

Perhaps use a face based family instead?

Unfortunately, face-based families will not work for me.