Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Scroll tablelayout
sortDirectionASC
repeatTableHeadersdefaultstyle
widths18%, 15%, 14%, 13%, 40%
style
sortByColumn1
sortEnabledfalse
cellHighlightingtrue

NameFlag argumentsArgument typeExclusive toComments
color3integerSet the RGB color of the marker connection
priorityOnly0Set the connection between markers parented to the priority search module only.

Return value

void

Examples

Code Block
languagetext
// 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

...