I'm writing a script (ULP) to smash all Resistors, Capacitors and Inductors and then set the text alignment to "Center" and move it to the origo of the package.
Now I'm stuck on how to change the text alignment, I can't find any command to do that.
Bonus question: How do I un-smash a smashed component in ULP?