public Commands
{
Dictionary
<string, SelectionSet
> SelectionSets
= new Dictionary
<string, SelectionSet
>();
public void DoStuff()
{
~~~
SelectionSet ss = ed.GetSelection();
SelectionSets.add("DoStuffSet",ss);
~~~
}
public void DoThings()
{
~~~
SelectionSet ss = SelectionSets["DoStuffSet"];
~~~
}
}