ZBrushCentral

get layer name list and looping

hi

is there a way to get all the layer names of current subtool?

i want to loop through all the layers to perform some actions
i know how to do so but without a way to get all layer names, i must hardcode an array of layer names

thanks.
Kwai

Not the answer you’d hoped for but in the Deformation pallette is a repeat to other subtools. Maybe that will work for your needs.

You can get the layer name by querying the title of the Layer Intensity slider. See the attached script.

1 Like