How do you create a new feature with a default radius?

Discussion created by Grieck on Feb 24, 2012
Latest reply on Feb 24, 2012 by Grieck

When a new feature is created using the Create Feature template for my Polygon Feature Class and using the "Circle" tool how can I assign a default radius to the circle during creation?

I've trapped for the OnCreate using an extension.
I've trapped for the use of the circle tool.

Now how do I change the radius of the feature during the creation process?

    public void OnCreate(IObject obj)

          ICommandItem ci = afoGlobals.afoApp.CurrentTool;
          if (ci != null)
            switch (ci.Caption.ToLower())
              case "circle":
                ISegmentCollection sc = new ESRI.ArcGIS.Geometry.Polygon as ISegmentCollection;
                IEditSketch es = myEditor3 as IEditSketch;
                sc.SetCircle(es.LastPoint, 25);
                IFeature f = obj as IFeature;
                f.Shape = sc;  ?????????