Thanks for replying. Those links are helpful but what I am looking for is a way to do what those widgets do but with code and not by implementing their functions. Instead of using the commands in the Editor, I want to build editing commands. My interest is building these commands with some extra functionality. For example, when adding a polygon: If I add a polygon that intersects an existing polygon, I mean, there is a common intersection area, then I want to trim this intersection polygon off of the newly added polygon.
Thanks for any help.