ZBrushCentral

command line launch?

Greetings,

Does anyone know if ZBrush can be launch from a command line?
…or automated launch from within Maya via a system call?

Any help greatly appreciated,

Flinestone - Not that I am aware of. It is possible to do the reverse though. To open other programs from Zbrush. Zbrush’s SDK is not finished.

As I mentioned though, you can use Zscripting to open other programs.

r

Flint,

I just tried a two line batch file (.bat) that launched ZBrush2 just fine. Have you tried that?

Sven

Yes,
I have used this from a windows app. Therefore if you can connect to any C/C++ plugin you can type this into the .c/.cpp file.

You will need to add the following headers and libs. Header: shellapi.h Import library: shell32.lib Minimum operating systems: Windows NT 3.1, Windows 95
static char *ZB_Exe = "C:\\Documents and Settings\\Chris\\Start Menu\\Programs\\Pixologic\\ZBrush2.lnk";
       
       ShellExecute(0, "open", ZB_Exe ,"","", SW_SHOWNORMAL);

You could just put the path to the ZBrush.exe , but I don’t remember why I chose this method. Maybe so I would only open a single instance???

More Detailed Info