Translating a Daz Script to Blender Python?
What I need is to convert the script provided by cridgit in this thread (https://www.daz3d.com/forums/discussion/500631/simple-script-for-scene-arrangement-information-passing) to what Blender would use. The idea is exactly the same: send and receive Rotation, Scale, and Translation values of a selected object and its children from one program to another using JSON files written by scripts run in the programs. I know enough programming (and some very basic Blender add-on coding from making a few experimental add-ons years ago) to know this should be possible. I won't try to guess the best practices for how to add the functionality to Blender (though my first instinct is to add a menu item or two, but I only know of the existence of Best Practices, not what they actually are, sadly).
With the script for Daz and the script for Blender enabling the transmission of RST values, it will be possible to use Blender's VR controls to arrange a Daz scene's contents hands-on (like really being in the scene to arrange things) and then send the arrangement back to Daz. I think. (I still haven't gotten around to getting Blender VR controls working. But I think I've seen that it works in videos.)
Now, I sort of know Blender add-on coding, but it's been years and I never really got good at it. Is there anyone here who could write the Blender Python code equivalent of the Daz Script in the aforementioned Thread?