Thanks for the reply. But I don't get it. See my attachments. The main point that I want to rotate the segment alone the Local Z axis later.
I input "$.objecttransform*(inverse $.transform)" then I get "(matrix3 [1,0,0] [0,1,0] [0,0,1] [0,0,0])". It means Xform of all Objects are clean.
Can you upload an example file ? Please just modify my scene file in the topic, Thanks.