Difference between revisions of "GetMaterial"
From scripting
(Created page with " global proc string getMaterial(string $ObjName) { //Author Nick Pisca 0001d 2006 string $LH[] = `listHistory $ObjName`; string $LC[] = `listConnections $LH[0]`; string $L...") |
(No difference)
|
Latest revision as of 05:57, 22 April 2017
global proc string getMaterial(string $ObjName) { //Author Nick Pisca 0001d 2006 string $LH[] = `listHistory $ObjName`; string $LC[] = `listConnections $LH[0]`; string $LL[] = `listHistory $LC[1]`; return $LL[1];}
More information on navigating shader nodes, read pages 133-134 in YSYT.