IRepresentation - Changing Geometry

Discussion created by DevonTaig on Dec 9, 2010
Latest reply on Dec 9, 2010 by DevonTaig
I'm trying to figure out how to move the "representation" for a point feature (not the feature itself), but can't find a good sample.  The feature class that I have has representation applied to it (which I set up in ArcCatalog). Using ArcMap's Representation Toolbar, I can move the representation for the feature just fine. Now what I want to do is modify the representation geometry in code.

I found IRepresentation.RemoveShapeOverride, and this method DOES work to reset the representation...But how do you provide a new geometry or modify the existing geometry?  Presumably, IRepresentationGraphics.ChangeGeometry would do the trick, but I can't figure out how to use it (what is the ID parameter?).  But perhaps IRepresentationGraphic is not the right approach at all because I don't want to use so-called Free-Representation...I just want to modify it's shape.