Friends,
Here are 2 new scripts for your enjoyment. I suggest keybinding them to
CTRL-SHIFT-G for GetSelectedMaterial
CTRL-SHIFT-P for PhotoshopSelectedMaterial
GetSelectedMaterial- Takes your current scene selection and automatically loads the material(s) in the material editor for easy editing. It works if you have multiple objects selected and saves your fingers from lots of radio box and scene clicking.
PhotoshopSelectedMaterial- Select an object in your scene and run this script through your keybinding or toolbar button. It will automatically open photoshop and load all the bitmaps assigned to the object!
These scripts will save you time and save you money. Enjoy! These scripts will be updated on ScriptSpot.com as new functionality is added or bugs are fixed. So please search for updates there, and as always please add a point on scriptspot if you find them useful.
---------------------------
MAXScript MacroScript Error Exception
---------------------------
-- Type error: Call needs function or class, got: undefined
---------------------------
OK
---------------------------
```with "**objMats = makeUniqueArray objMats**" highlighted on the get materials one and "**if (hasINISetting iniFile "Photoshop" "Path") then (**" on the photoshop one.
running Max 9 x64
No prob Giraffe. Let me know how they are and how they could be improved to make life even easier. I figured out what to do with multisub materials on the photoshopSelectedMaterial script, so I’ll implement that soon.
if yours let you easily display a list of textures on the selected objects, and allowed you to double click to open whichever specific ones you wanted in photoshop you’d be the clear winner!
I’ve had a few cases where i accidentally opened up a whole slew of things from a giant multi sub at once when i just wanted the diffuse and spec!
Especially if it combined some of the functionality of the find large bitmaps! (Or find large bitmaps took some of the open with pshop functions!) that would be yay.
I’m implementing multi-subs soon. What it’ll do is give you a list of materials in the multisub and let you double click the one you want to load in photoshop.
Good idea on the loading photoshop from findLargeBitmaps! I’ll add that in soon.