Re: [PyMOL] reset TTT matrix to identity

2023-06-02 Thread Philip Kiser
Hi Jarrett, That command seems to just move the object back to its original position instead of resetting the matrix values with the object kept in its new position. Regards, Philip On Fri, Jun 2, 2023 at 12:56 PM Jarrett Johnson < jarrett.john...@schrodinger.com> wrote: > Hi Philip, > > Have

Re: [PyMOL] reset TTT matrix to identity

2023-06-02 Thread Jarrett Johnson
Ah apologies, I am not sure of the most efficient way to do it, but one could store the TTT matrix, reset the matrix, and transform the object as a selection so that the positions themselves are changed and not the object transform. Something like PyMOL>mat = cmd.get_object_matrix('1obyA')

Re: [PyMOL] reset TTT matrix to identity

2023-06-02 Thread Jarrett Johnson
Hi Philip, Have you tried the `matrix_reset` command instead? Best Jarrett J. On Fri, Jun 2, 2023 at 3:46 PM Philip Kiser wrote: > Hi Everyone, > Is there a way to set an object TTT matrix to the identity after > performing a transformation (e.g. superposition)? I want to leave the > object