Is there a way to toggle whether an object is annotative or non annotative using lisp?

The reason for asking is I have a lisp routine that allows me to pick a piece of text or a block and rotate it to be parallel to a another line or piece of text i choose.

Now I have started using annotative text the routine no longer works ... it just scales the annotative text so that the model space text size becomes the paper space text size ie it scales by the current annotation scale.

If I use the properties to set it non annotative it works fine.

All the routine does is get the rotation angle of the second picked object and substitutes it into the first pick and does an entmod.

Thanks in advance