...
Return value
string array
Examples
Code Block | ||
---|---|---|
| ||
string $mds[] = `getModules -type BoneNode`; |
...
int $i; |
...
for( $i = 0; |
...
$i < $mds.getCount(); |
...
$i += 1 ) |
...
{ |
...
print( $mds[$i] ); |
...
} |
...
print ($mds.getCount()); |
...
...
// In this small procedure, a module array called "$mds" is declared |
...
// and all scene modules of the type BoneNode are assigned to it. |
...
// The for loop iterates through the elements of the array and |
...
// prints each one to the interface. The last line prints the value |
...
// of $mds.getCount, an integer describing the number of modules |
...
// that were found in this instance. |
Additional information
Related commands
...