Hello,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; ?????????
break;
}
}
G