Forum: DAZ|Studio


Subject: DS3: Applying a texture to ALL materials in the selected object?

3dcheapskate opened this issue on Sep 17, 2011 · 6 posts


3dcheapskate posted Sat, 17 September 2011 at 1:17 AM

I've created a DS material (.dsb) and I've realised that I can make it apply to ALL materials in the selected object if I right-click the icon for the script, select 'Open in DAZ Script IDE...', scroll down to the last function in the file 'DsActions.prototype.setMaterialProperties()', and within the 'switch(sID)' statement move the material data from the 'case "materialname":' to the 'default:', not forgetting to delete  delete the 'case "materialname":' afterwards. I can copy the edited text and save the result as a .dsa file.

Two questions:

  1. Is this (i.e. putting the material setup in the 'default') the best way to do it?

  2. How do I convert the resultant .dsa back to a .dsb?

TIA

(posted the same question for P6 in the Poser forum)


The 3Dcheapskate* occasionally posts sensible stuff. Usually by accident.
And it usually uses Poser 11, with units set to inches. Except when it's using Poser 6 or PP2014, or when its units are set to PNU.

*also available in ShareCG, DAZ, and HiveWire3D flavours (the DeviantArt and CGBytes flavour have been discontinued).