Hello,
How to choose material by number, not by name?
example:
[Ibutton, “Zplugin:SAF:Change Preview Material”, “Change Tools Preview Material. ZBrush Will Restart!”,[MessageOK, “Choose new material file.”, " "]
[IFreeze,
[IUnPress,Transform: Edit]
[IPress,Material:SkinShade4]
[IPress,Material:Load]
[IPress,Layer:Clear]
[IPress,Draw:Mrgb]
[ISet,Draw: Z Intensity,1]
[ISet,Draw:Draw Size,1]
[CanvasStroke,(ZObjStrokeV02n3=YH20V18p3BH20V19p46H20V19P)]
[IPress,Document:Save As Startup Doc]
]
[MessageOK, “Restart ZBrush!”, " "]
[IPress,CLOSE]
]
All runs only one time. Somehow need to select material number 71
[If, 71,…
]
only works if material already selected