Difference between revisions of "GetInitialMaterial"
From scripting
(Created page with " proc string GetInitialMaterial(string $Name){ //Author Nick Pisca 0001d 2006 string $FF[] = `listRelatives $Name`; string $GG[] = `listConnections $FF[0]`; string $HH[] =...") |
(No difference)
|
Latest revision as of 05:57, 22 April 2017
proc string GetInitialMaterial(string $Name){ //Author Nick Pisca 0001d 2006 string $FF[] = `listRelatives $Name`; string $GG[] = `listConnections $FF[0]`; string $HH[] = `listConnections $GG[0]`; return $HH[0];} string $JJ = `GetInitialMaterial nurbsSphere1` ;
More information on navigating shader nodes, read pages 133-134 in YSYT.