Goal: Take an existing graphics selection and use it on a result object.
This example works best when selecting nodes and elements while already viewing a result.
Code:
mysel = ExtAPI.SelectionManager.CurrentSelection myres = Tree.FirstActiveObject myres.ClearGeneratedData() myres.Location = mysel myres.EvaluateAllResults()