Some Help On Selectcontiguousedges Needed

In my script i need to do this :

string $edges[] = filterExpand -ex 1 -sm 32;
SelectContiguousEdges $edges[0];

  • but this does not work.

What i need is to use the SelectContiguousEdges command but without selecting an edge first.

Why ?

Because i need the current selection.

Any ideas?

Peace

if you select and then apply this script its working fine

CODE
global proc test_script()
{
    string $edges[] = filterExpand -ex 1 -sm 32;
    SelectContiguousEdges $edges[0];
}
test_script;

and i am geting this result also

// Result: pSphere1.e[240:259]

and what you want .. with out select a edge u want to get the result ???

Then i dont think so

Yeah, i need to make a loop without anything selected.

Something like

SelectContiguousEdges $edge;

QUOTE(STAVREV @ 02/19/07, 05:10 PM) [snapback]260412[/snapback]
Yeah, i need to make a loop without anything selected.

Something like

SelectContiguousEdges $edge;

but where is the input ??? but i hope this like u can do it .. oru our guys maybe have another good idea
CODE
string $my_edgename="pSphere1.e[237]";
select -r $my_edgename;
SelectContiguousEdges $my_edgename