Hi, I am trying to export a tool as ma file using zscript. But it seems it just overwrites the ma file with the text below:
“Nothing to do here, OBJ exported is included in ZBrush”
The code that I use is:
[FileNameSetNext,“C:\Users\Public\Pixologic\GoZProjects\Default\pSphere2.ma”]
[IPress,Tool:Import]
…do some thing…
[FileNameSetNext, [FileNameGetLastUsed]]
[IPress,Tool:Export]
And I also found if I manually export the tool as ma file once, afterward the script works fine.
Just wondering if anyone has seen this problem before, and how can I solve it? It seems some global variable is not being set.
ps: I am very new to zscript… actually just started today…
Thanks a lot!