Welcome to the Poser Forum
Poser F.A.Q (Updated: 2019 Jan 31 1:28 pm)
Subject: script to remove/replace all materials in a figure?
No ... but a close way is if you have EZmat. It has a drop and drag feature when you can drop mats to the selected zone you want and it is replaced ... and if it is a DAZ Generation 4 figure (V4/M4/K4) you can mark that all zones that use that map will be added (i.e. torso, limbs, face ...) but not universal, because every figure is mapped differently. You can remove all maps on some figures where they have an all white MAT pose setting as well, but not a replace textures.
"Be Hero to Yourself" -- Peter Tork
Also, Netherworks "Material Writer Panel 2014" will list all materials of your figure and all can be selected simultaneously, then right click on the bunch of selected materials and you'll get "selection tools" --> reset materials (set to white). It'll set your figure to white then you can save it as a material
Unless I'm missing the point, this is a function built into the context menus.
Select a material zone and set the material as desired
Right click, then pick "Select All"
Right click, then pick "Apply to All"
From the Wacro buttons in the Material pane, hold down Shift, then click on "Remove Detached Nodes"
Not exactly a one click solution but it works.Coppula eam se non posit acceptera jocularum.