What I am about to say is quite far from my knowledge.
I am trying to think about, how to use child objects to print side numbers in any position of a diesel (SD40-2). I don´t know about decals, placeholders and all associated intricacies that are known by repainters.
There have been a few threads about autonumbering here in RWA since a long time, but what I found is far beyond my league.
One of the threads is this from 12 years ago:
viewtopic.php?f=9&t=3934&hilit=portable+autonumbering
I would like to ask the experts in repaint and children, if this above is still valid, given the changes that may have happened in the Train Simulator core yearly updates.
The other question would be if there is some loco you may be aware of that has that kind of autonumbering child and that It could just be copied or call it from the target loco and could be manipulated (moved and scaled).
I am pretty well aware of the method on how to scale and displace children.