Norb
02-12-2003, 11:13 AM
Hey guys, this is probably a really easy problem but I'm just jumpin into the mel stuff...
I have :
string $da[]=`ls -sl`;
string $material = `shadingNode -asShader blinn -name godRays`;
string $SG = `sets -renderable true -noSurfaceShader true -empty -name godRaysSG`;
connectAttr -f ( $material + ".outColor" ) ( $SG + ".surfaceShader" );
defaultNavigation -source godRays -destination $da -connectToExisting;
when I run it, it brings up the connection editor asking me what to hook up...
can anyone help me get it so it makes the default connections for all the objects in $da?
thanks
Norb
I have :
string $da[]=`ls -sl`;
string $material = `shadingNode -asShader blinn -name godRays`;
string $SG = `sets -renderable true -noSurfaceShader true -empty -name godRaysSG`;
connectAttr -f ( $material + ".outColor" ) ( $SG + ".surfaceShader" );
defaultNavigation -source godRays -destination $da -connectToExisting;
when I run it, it brings up the connection editor asking me what to hook up...
can anyone help me get it so it makes the default connections for all the objects in $da?
thanks
Norb
