I am trying to export the world space transformation, position, scale and rotation information of my subtool to a text file using zscipt but I have not had any luck. I expect to get numbers but I get something that looks more like binary data.
Here’s the commands in my zcsript:
[VarDef,DD_ZData, 9]
[TransformGet, DD_ZData]
[VarSave, DD_ZData,“C:\Program Files (x86)\Pixologic\ZBrush 4R7 FL\ZScripts\MyZData.txt”]
[IPress,Tool:SubTool:SelectDown]
]/End of ZScript/
I also tried creating variables for all the position, scale and rotation and print that but no luck there either.
[VarDef,xPos,0]
[VarDef,yPos,0]
[VarDef,zPos,0]
[VarDef,xSc,0]
[VarDef,ySc,0]
[VarDef,zSc,0]
[VarDef,xRot,0]
[VarDef,yRot,0]
[VarDef,zRot,0]
[TransformGet, xPos, yPos, zPos, xSc, ySc, zSc, xRot, yRot, zRot]
Please let me know what you think/suggest.
Thanks,
BullFrog