I have parent and child objects. I want the child to move and rotate with the parent, but I would like to be able to scale the parent without affecting the child in my Python script. I know that I can set the parent to transform independently with this: bpy.context.scene.tool_settings.use_transform_skip_children = True or in the Options menu in the upper right hand corner of the 3d view window.
In my Python code, I would like to be able to detect that a translation in the parent object is occurring, set the parent to transform independently, and then reset that the child transform with the parent. Is that possible? I am not sure if a modal operator would work, and I do not know what to call the event that would trigger it.