ZBrushCentral

Help on StartupDocument possible workaround

Hi all,
I need your help to know if this workaround for the StartupDocument is possible or not.
Because StartupDocument and ZAppLink cannot live together, I can have the document size to my screen resolution using a startup zscript I’ve just recorded.
The script is this:

//RECORDED ZSCRIPT 3.5
  [IButton,Play,"Press to play this ZScript. ZScript can be aborted at anytime by pressing the ëescí key.",
   [IConfig,3.5]
   [IUnPress,Transform: Edit] // Exit the Edit mode of Default Sphere
   [IPress,Color:Clear] // Cleaning the layer
   [IUnPress,Preferences:Interface:Float Menu] // The same You press Tab
   [IPress,Document:WSize] // Put the WSize On: this is the trick
   [IPress,Document:New Document] // Of course
   [IPress,Preferences:Interface:Float Menu] // Restoring the Tab previously press
  ]/*End of ZScript*/
   

Now, the question is, if possible: how to execute that zscript when ZBrush loads?
Thanks in advance.

Hi there, just record a macro of your startup settings. E.g. like closing Lightbox, max the document size or whatever you might need. Save the Macro in the Macro/Misc folder and there you go a one click startup Macro.

Hope that helps

That will work OK but here is a tidier method.

  1. Put the attached file called StartupMacro.txt in the ZBrush 3.5 R3/ZStartup/Macros/Misc folder. It is essential that it is in this exact location.

  2. In the ZBrush 3.5 R3/ZScripts folder you’ll find a file called DefaultZScript.txt. Rename this DefaultZScript_bak.txt. This is so that you can restore the original start up if you want.

  3. Put the attached DefaultZScript.txt in the ZBrush 3.5 R3/ZScripts folder.

  4. Restart ZBrush.

For more information on this method see: setting up a startup macro

HTH,

Thanks, guys, for your answers.
Marcus, it works flawlessly: now I have only to load the polysphere with my preferred material and it will looks exactly as a StartupDocument.
Thanks again, friends, and happy new year! :smiley: