ZBrushCentral

Draw polyframe > SkinShade4

How to automatically change the material when you turn it on Draw polyframe. Usually I work in MatCap Red Wax (Clay) material, but the ploigroups and the grid are poorly visible on it, each time I switch the lighter material by hand, can this be automated somehow?

Hello @KasAndr

You can record a macro of turning Polyframe on and then changing the material, then you will only have one button to click, or create a hotkey for that will do both of those things. You can then enable customize and move the macro button to a convenient place.

If you want the SkinShade4 material to be the default material when you start ZBrush, you can use the ZStartup Utility in the ZPlugin palette.

1 Like

A follow-up question, is it possible to put two macros on one hotkey, so that with the same click, everything will return to the reverse state?

Hi @KasAndr

No, that’s not possible. It’s like trying to pull and push something at the same time. It just won’t work. You would need two separate Macro buttons.

It turns out everything is possible :slight_smile:

[IButton,???,"Material - PolyF",

[If,[IGet,Material:MatCap Red Wax]==1,
[IPress,Material:SkinShade4]
[IPress,Transform: Pf]
,
[If,[IGet,Material:SkinShade4]==1,
[IPress,Material:MatCap Red Wax]
[IUnPress,Transform: Pf]

]
]

]
1 Like

OK! I think I misunderstood your question. Good for you for figuring it out. I’m glad it’s working for you. I guess even us old guy’s can learn something new. :smiley: