ZBrushCentral

is this possible?

can we do renaming or deleting the files with zscript?

Hi,

There are no zscript commands that can directly delete or rename files. However the [FileExecute,…] command can call external programs that could delete and/or rename files. Normally people associate the [FileExecute,…] command with calling procedures in .DLL files but the command can be used to call any executable file on the computer. So you could write a zscript that generates a batch file (.bat) that you can execute from within ZBrush.

Hope that helps.

Mark

Hi sisis23,

almost a ear after your threadstart I come with another answer to your question:
Yes, you can rename (not delete) in ZB
1. a tool:
[ipress,tool,oldname]
[FileNameSetNext,“ZBRUSH_ZStartup\ZPlugs\TempFolder
wname.ztl”]
[ipress,tool:save as]
2. a texture:
[ipress,texture,oldname]
[FileNameSetNext,“ZBRUSH_ZStartup\ZPlugs\TempFolder
wname.psd”]
[ipress,texture:export]
3. an alpha:
[ipress,alpha,oldname]
[FileNameSetNext,“ZBRUSH_ZStartup\ZPlugs\TempFolder
wname.psd”]
[ipress,alpha:export]

Hope you find it useful
Greetings, EddyL

This is also actually now possible using the new zscripting resource ZFileUtils dll. See here:

http://www.zbrush.info/docs/index.php?title=ZScript_FileUtils