Hi Jennifer,
I started thinking about what you were proposing but have taken a slight tangent. The reason is that even if using the editor's built-in command to cut worked, the work flow it requires is not quite what I want ... it is too much of a package deal, and I need a more customized work flow. I mean, I'll go that route if I must, but it lead me to another question that may be related.
In the API documentation it says that the CutEventArgs class contains three things: CutIndexes, Results, and UserState. I do not believe that the contents of UserState are relevant to my task. However, I am currently simply looping through the two graphics I found in Results and adding them to my output Featurelayer. This leaves me wondering, what is this 'CutIndexes' array, and what is its purpose? Am I suppose to use it in some way? The documentation is completely unhelpful regarding the CutIndexes array saying only that it holds the indexes of the new geometries derived from the original. I mean, that sort of sounds like what I want... but then when it says "The indexes of the new geometries..." it never says 'indexes into ... what??' What array or structure are the indexes referencing? The list of graphics in the Results IList? If so, what's the point? What do the values of the CutIndexes values mean - I have two Indexes listed [0] and [1], and each index stores only the value '0' which doesn't tell me a whole lot.
This lead to yet another related question: the Geometry Service has a property named 'CutLastResult' ... which is described vaguely as 'Gets the cut last result' ..? Does that mean the 'Results' IList from the last completed CutAsync event? Or is this a different IList containing only the last graphic object of the last set of results? Is there a difference in meaning between Result and Results here? And if the last single result graphic is returned, but multiple geometries are defined by a cut, which is the last one?
Thanks for any pointers!
Nick