
11.2 SelectRingContext2 Plug-in
613
The edge that will be used as the basis for the ring or loop selection is retrieved.
if( argData.isFlagSet( edgeFlag ) )
{
The edge is a string of the form
<object_name>.e[<edge_index>].
MString edgeSpec.
argData.getFlagArgument( edgeFlag, O, edgeSpec ).
The edge is added to the MSelectionList object.
MSel ectionList sel-
sel.add( edgeSpec )"
The DAG path to the object and the edge component are extracted using the
getDagPath
function.
sel.getDagPath( O, selEdgeObject, selEdgeComp )-
° ° °
}
As always, the
redo lt
function does the main work. This context has a more robust ...