Sorry, if I’m spamming the forum a little bit too much with maybe noobish questions in the past days.
What I meant here, is that I want to use whatever a function in the posttranslate script returns in maya. So i get some values from the translated scene and use that for further processing internally in maya.
What I did as a workaround now: I printed the output to a tempfile and read that back in. Works for me.