How to get euler angle of the prim through script with script editor

@gaozhao22 take a look at the matrix decomposition by @mati-nvidia where he was able to extrapolate transform, rotation (in Euler), and scale:

you can watch his breakdown as well in a VOD (since the snippet showed two ways to get rotations):

regarding the orient vs rotation in more detail:

I am sure there are other ways to get the information you are looking for, so i’ll let others chime in 🙂