...
Scroll tablelayout | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Name | Flag arguments | Argument type | Exclusive to | Comments |
---|---|---|---|---|
color | 3 | integer | — | Set the RGB color of the marker connection |
priorityOnly | 0 | — | — | Set the connection between markers parented to the priority search module only. |
Return value
void
Examples
Code Block | ||
---|---|---|
| ||
// Draw connecting lines around the four head markers of each |
...
// character in the scene. |
...
int $i, $count; |
...
string $chars[] = `getModules -type Character`; |
...
...
// Get the number of characters in the scene |
...
$count = `getCount $chars`; |
...
...
// Iterate through and set the connections for each. |
...
for( $i = 0; |
...
$i < $count; $i += 1 ) |
...
{ |
...
// Set the Priority Search Module. Do this by first |
...
// setting it as the primary selection, then calling |
...
// setPriority |
...
setPrimary $chars[ $i ]; |
...
setPriority; |
...
// Now set the connections |
...
setMarkerConnection "LFHD" "LBHD" -color 0 255 0; |
...
setMarkerConnection "LBHD" "RBHD" -color 0 255 0; |
...
setMarkerConnection "RBHD" "RFHD" -color 0 255 0; |
...
setMarkerConnection "RFHD" "LFHD" -color 0 255 0; |
...
} |
Additional information
Related commands
...