If you have added your own text to the standard cube object in the default Archicad library then my guess is all you need to do is add a ROT command before the text to counter-act the object rotation that the user can set in the object settings dialogue.
This will not counter-act the rotations that can be set in the parameters of the object but the 2D view is just a PROJECT2 and does not actually rotate anything in the script.
So just add the red bits around your text2 command.
ROT2 -SYMB_ROTANGLE
TEXT2 0,0, text_string
DEL 1
If that is not it then you might want to share your script or object.
Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11