Hi guys Im currently doing some blocking out and need to fire on quick textures to get a sense of scale and layout. Im finding the "assign favourite material" section at the bottom of the marking menu a bit awkward and long and was want to hotkey the lambert function. Sadly I cant find where it is in the hotkey menu. Any help you can give me?
Replies
<div>string $objs[] = `ls -sl`; </div><div>string $myLambert = `shadingNode -asShader lambert`; </div><div>string $sg = `sets -renderable true -noSurfaceShader true -empty -name ($myLambert + "SG")`; </div><div>defaultNavigation -connectToExisting -source $myLambert -destination $sg; </div><div>for ($obj in $objs) { </div><div> select $obj; </div><div> hyperShade -assign $myLambert; </div><div> } </div><div>select $myLambert;</div>And here's a pic of the hotkey editor if you've never done this. Also, you can search the commands for a hotkey function, but there's no premade entry for this particular thing.
Or use the node editor and a stored tab.