Hi @Crea,
thank you for reaching out to us. Unfortunately I am a bit slow again this morning, so I have trouble understanding your posting.
What do you mean by a real scale value? The size of the bounding box of an object? It also not quite clear to me what you are trying to achieve:a. Reset the scaling component of the transforms of the objects you did previously scale up.
b. Or so to speak "reset" the scaling of the children of these objects - so that they "take on" their original size, while the scaling and size of their parent remains modified? Your script seems to work fine for me, but then again I am not quite clear on what you are trying to do.
What confuses me the most is that the selected object in your screen is not in a child-parent relation and also the fact that scaling a parent will not change the relative transform of its children, i.e. their local matrix, i.e. what you are seeing the coordinates tab of the attribute manager.
Sorry for all the confusion, but we would apricate it if you would clarify some points.
Cheers,
Ferdinand