I suppose you want to have the same $TY on your geometry as the reference? If you know the point number you want to reference you can use a point expression e.g. point(“../ref_sop”, pointno, “P”, 2). If you really want to orient points and polygons have a look at the align and maybe orient SOP.