Post #1017:  can be useful too.
Here is an example of Modal Rotate Operator (modal_rotate.zip (585 Bytes)). Extract the file and import it in PME.