<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Draw a circle from the centroid of a polygon and divide the circle into four segm in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/draw-a-circle-from-the-centroid-of-a-polygon-and/m-p/208577#M5433</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here, try this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
Sub CentroidQuadrants()

' Buffers the centroid of a polygon and divides the resulting circle into 4 even-sized quadrants
' creating a separate polygon feature for each quadrant of the circle.

Dim pMxd As IMxDocument
Set pMxd = ThisDocument

Dim pUID As UID
Set pUID = New UID
pUID.Value = "esriEditor.Editor"

Dim pEditor As IEditor
Set pEditor = Application.FindExtensionByCLSID(pUID)

If (pEditor Is Nothing) Then
&amp;nbsp;&amp;nbsp;&amp;nbsp; MsgBox "Failed to get a reference to the ArcMap Editor!"
&amp;nbsp;&amp;nbsp;&amp;nbsp; Exit Sub
End If

Dim pEnumFeature As IEnumFeature
Set pEnumFeature = pMxd.FocusMap.FeatureSelection

pEnumFeature.Reset

Dim pSearchFeature As IFeature
Set pSearchFeature = pEnumFeature.Next

If (pSearchFeature Is Nothing) Then
&amp;nbsp;&amp;nbsp;&amp;nbsp; MsgBox "Please select a feature!"
&amp;nbsp;&amp;nbsp;&amp;nbsp; Exit Sub
End If

Dim pLayer As ILayer
Dim pFeatureLayer As IFeatureLayer

Dim i As Integer

For i = 0 To pMxd.FocusMap.LayerCount - 1
&amp;nbsp;&amp;nbsp;&amp;nbsp; Set pLayer = pMxd.FocusMap.Layer(i)
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; If pLayer.Name = "Land Parcel SG Approved (Land Parcel)" Then
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set pFeatureLayer = pLayer
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Exit For
&amp;nbsp;&amp;nbsp;&amp;nbsp; End If
Next

If (pFeatureLayer Is Nothing) Then
&amp;nbsp;&amp;nbsp;&amp;nbsp; MsgBox "Land Parcel layer not found!"
&amp;nbsp;&amp;nbsp;&amp;nbsp; Exit Sub
End If

Dim pDataset As IDataset
Set pDataset = pFeatureLayer.FeatureClass

pEditor.StartEditing pDataset.Workspace

' If this macro fails even once, the Editor will become bedwangled.
' When this happens, uncomment the StopOperation() below to keep moving.
' pEditor.StopOperation "Create circle quadrants"

pEditor.StartOperation

Dim pArea As IArea
Set pArea = pSearchFeature.Shape

Dim pCentroid As IPoint
Set pCentroid = pArea.Centroid

Dim pTopoOp As ITopologicalOperator
Set pTopoOp = pCentroid

Dim pBufferedPoint As IGeometry
Set pBufferedPoint = pTopoOp.Buffer(100)

Dim pFeature As IFeature

' This stores the original circle from the buffered centroid
' Set pFeature = pFeatureLayer.FeatureClass.CreateFeature
' Set pFeature.Shape = pBufferedPoint
' pFeature.Store

Dim pCircleEnvelope As IEnvelope
Set pCircleEnvelope = pBufferedPoint.Envelope

Dim pEnv As IEnvelope
Dim pPointCollection As IPointCollection

' LOWER LEFT

Set pEnv = New Envelope
Set pEnv.SpatialReference = pCentroid.SpatialReference

pEnv.PutCoords pCircleEnvelope.LowerLeft.X, pCircleEnvelope.LowerLeft.Y, pCircleEnvelope.LowerRight.X - (pCircleEnvelope.Width / 2), pCircleEnvelope.UpperLeft.Y - (pCircleEnvelope.Height / 2)

Dim pQuadrantPoly As IPolygon
Set pQuadrantPoly = New Polygon
Set pQuadrantPoly.SpatialReference = pCentroid.SpatialReference
Set pPointCollection = pQuadrantPoly

Dim pLLPoint As IPoint
Dim pULPoint As IPoint
Dim pURPoint As IPoint
Dim pLRPoint As IPoint

Set pLLPoint = New Point
Set pULPoint = New Point
Set pURPoint = New Point
Set pLRPoint = New Point

pLLPoint.PutCoords pEnv.LowerLeft.X, pEnv.LowerLeft.Y
pULPoint.PutCoords pEnv.UpperLeft.X, pEnv.UpperLeft.Y
pURPoint.PutCoords pEnv.UpperRight.X, pEnv.UpperRight.Y
pLRPoint.PutCoords pEnv.LowerRight.X, pEnv.LowerRight.Y

pPointCollection.AddPoint pLLPoint
pPointCollection.AddPoint pULPoint
pPointCollection.AddPoint pURPoint
pPointCollection.AddPoint pLRPoint

pQuadrantPoly.Close
pQuadrantPoly.SimplifyPreserveFromTo

If pQuadrantPoly.IsEmpty Then
&amp;nbsp;&amp;nbsp;&amp;nbsp; MsgBox "Failed to create lower left quadrant!"
End If

Set pFeature = pFeatureLayer.FeatureClass.CreateFeature
Set pTopoOp = pQuadrantPoly

Set pFeature.Shape = pTopoOp.Intersect(pBufferedPoint, esriGeometry2Dimension)
pFeature.Store

' LOWER RIGHT

Set pEnv = New Envelope
Set pEnv.SpatialReference = pCentroid.SpatialReference

pEnv.PutCoords pCircleEnvelope.LowerRight.X - (pCircleEnvelope.Width / 2), pCircleEnvelope.LowerLeft.Y, pCircleEnvelope.LowerRight.X, pCircleEnvelope.UpperLeft.Y - (pCircleEnvelope.Height / 2)

Set pQuadrantPoly = New Polygon
Set pQuadrantPoly.SpatialReference = pCentroid.SpatialReference
Set pPointCollection = pQuadrantPoly

Set pLLPoint = New Point
Set pULPoint = New Point
Set pURPoint = New Point
Set pLRPoint = New Point

pLLPoint.PutCoords pEnv.LowerLeft.X, pEnv.LowerLeft.Y
pULPoint.PutCoords pEnv.UpperLeft.X, pEnv.UpperLeft.Y
pURPoint.PutCoords pEnv.UpperRight.X, pEnv.UpperRight.Y
pLRPoint.PutCoords pEnv.LowerRight.X, pEnv.LowerRight.Y

pPointCollection.AddPoint pLLPoint
pPointCollection.AddPoint pULPoint
pPointCollection.AddPoint pURPoint
pPointCollection.AddPoint pLRPoint

pQuadrantPoly.Close
pQuadrantPoly.SimplifyPreserveFromTo

If pQuadrantPoly.IsEmpty Then
&amp;nbsp;&amp;nbsp;&amp;nbsp; MsgBox "Failed to create lower right polygon!"
End If

Set pFeature = pFeatureLayer.FeatureClass.CreateFeature
Set pTopoOp = pQuadrantPoly

Set pFeature.Shape = pTopoOp.Intersect(pBufferedPoint, esriGeometry2Dimension)
pFeature.Store

' UPPER LEFT

Set pEnv = New Envelope
Set pEnv.SpatialReference = pCentroid.SpatialReference

pEnv.PutCoords pCircleEnvelope.LowerLeft.X, pCircleEnvelope.UpperLeft.Y - (pCircleEnvelope.Height / 2), pCircleEnvelope.LowerRight.X - (pCircleEnvelope.Width / 2), pCircleEnvelope.UpperLeft.Y

Set pQuadrantPoly = New Polygon
Set pQuadrantPoly.SpatialReference = pCentroid.SpatialReference
Set pPointCollection = pQuadrantPoly

Set pLLPoint = New Point
Set pULPoint = New Point
Set pURPoint = New Point
Set pLRPoint = New Point

pLLPoint.PutCoords pEnv.LowerLeft.X, pEnv.LowerLeft.Y
pULPoint.PutCoords pEnv.UpperLeft.X, pEnv.UpperLeft.Y
pURPoint.PutCoords pEnv.UpperRight.X, pEnv.UpperRight.Y
pLRPoint.PutCoords pEnv.LowerRight.X, pEnv.LowerRight.Y

pPointCollection.AddPoint pLLPoint
pPointCollection.AddPoint pULPoint
pPointCollection.AddPoint pURPoint
pPointCollection.AddPoint pLRPoint

pQuadrantPoly.Close
pQuadrantPoly.SimplifyPreserveFromTo

If pQuadrantPoly.IsEmpty Then
&amp;nbsp;&amp;nbsp;&amp;nbsp; MsgBox "Failed to create upper left polygon!"
End If

Set pFeature = pFeatureLayer.FeatureClass.CreateFeature
Set pTopoOp = pQuadrantPoly

Set pFeature.Shape = pTopoOp.Intersect(pBufferedPoint, esriGeometry2Dimension)
pFeature.Store

' UPPER RIGHT

Set pEnv = New Envelope
Set pEnv.SpatialReference = pCentroid.SpatialReference

pEnv.PutCoords pCircleEnvelope.LowerRight.X - (pCircleEnvelope.Width / 2), pCircleEnvelope.UpperLeft.Y - (pCircleEnvelope.Height / 2), pCircleEnvelope.LowerRight.X, pCircleEnvelope.UpperLeft.Y

Set pQuadrantPoly = New Polygon
Set pQuadrantPoly.SpatialReference = pCentroid.SpatialReference
Set pPointCollection = pQuadrantPoly

Set pLLPoint = New Point
Set pULPoint = New Point
Set pURPoint = New Point
Set pLRPoint = New Point

pLLPoint.PutCoords pEnv.LowerLeft.X, pEnv.LowerLeft.Y
pULPoint.PutCoords pEnv.UpperLeft.X, pEnv.UpperLeft.Y
pURPoint.PutCoords pEnv.UpperRight.X, pEnv.UpperRight.Y
pLRPoint.PutCoords pEnv.LowerRight.X, pEnv.LowerRight.Y

pPointCollection.AddPoint pLLPoint
pPointCollection.AddPoint pULPoint
pPointCollection.AddPoint pURPoint
pPointCollection.AddPoint pLRPoint

pQuadrantPoly.Close
pQuadrantPoly.SimplifyPreserveFromTo

If pQuadrantPoly.IsEmpty Then
&amp;nbsp;&amp;nbsp;&amp;nbsp; MsgBox "Failed to create upper right polygon!"
End If

Set pFeature = pFeatureLayer.FeatureClass.CreateFeature
Set pTopoOp = pQuadrantPoly

Set pFeature.Shape = pTopoOp.Intersect(pBufferedPoint, esriGeometry2Dimension)
pFeature.Store

' ...... all quadrants created ......

pEditor.StopOperation "Create circle quadrants"
pEditor.StopEditing True

Dim pActiveView As IActiveView
Set pActiveView = pMxd.FocusMap
pActiveView.Refresh

End Sub
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 10:18:03 GMT</pubDate>
    <dc:creator>KingsleyPayne</dc:creator>
    <dc:date>2021-12-11T10:18:03Z</dc:date>
    <item>
      <title>Draw a circle from the centroid of a polygon and divide the circle into four segments</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/draw-a-circle-from-the-centroid-of-a-polygon-and/m-p/208576#M5432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm trying to write a code to draw a circle (buffer) from the centroid of a polygon,and then divide the circle into four segments.Give each segment a different color.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Feb 2011 10:11:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/draw-a-circle-from-the-centroid-of-a-polygon-and/m-p/208576#M5432</guid>
      <dc:creator>ManjubaashiniRaghunath</dc:creator>
      <dc:date>2011-02-19T10:11:58Z</dc:date>
    </item>
    <item>
      <title>Re: Draw a circle from the centroid of a polygon and divide the circle into four segm</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/draw-a-circle-from-the-centroid-of-a-polygon-and/m-p/208577#M5433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here, try this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
Sub CentroidQuadrants()

' Buffers the centroid of a polygon and divides the resulting circle into 4 even-sized quadrants
' creating a separate polygon feature for each quadrant of the circle.

Dim pMxd As IMxDocument
Set pMxd = ThisDocument

Dim pUID As UID
Set pUID = New UID
pUID.Value = "esriEditor.Editor"

Dim pEditor As IEditor
Set pEditor = Application.FindExtensionByCLSID(pUID)

If (pEditor Is Nothing) Then
&amp;nbsp;&amp;nbsp;&amp;nbsp; MsgBox "Failed to get a reference to the ArcMap Editor!"
&amp;nbsp;&amp;nbsp;&amp;nbsp; Exit Sub
End If

Dim pEnumFeature As IEnumFeature
Set pEnumFeature = pMxd.FocusMap.FeatureSelection

pEnumFeature.Reset

Dim pSearchFeature As IFeature
Set pSearchFeature = pEnumFeature.Next

If (pSearchFeature Is Nothing) Then
&amp;nbsp;&amp;nbsp;&amp;nbsp; MsgBox "Please select a feature!"
&amp;nbsp;&amp;nbsp;&amp;nbsp; Exit Sub
End If

Dim pLayer As ILayer
Dim pFeatureLayer As IFeatureLayer

Dim i As Integer

For i = 0 To pMxd.FocusMap.LayerCount - 1
&amp;nbsp;&amp;nbsp;&amp;nbsp; Set pLayer = pMxd.FocusMap.Layer(i)
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; If pLayer.Name = "Land Parcel SG Approved (Land Parcel)" Then
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set pFeatureLayer = pLayer
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Exit For
&amp;nbsp;&amp;nbsp;&amp;nbsp; End If
Next

If (pFeatureLayer Is Nothing) Then
&amp;nbsp;&amp;nbsp;&amp;nbsp; MsgBox "Land Parcel layer not found!"
&amp;nbsp;&amp;nbsp;&amp;nbsp; Exit Sub
End If

Dim pDataset As IDataset
Set pDataset = pFeatureLayer.FeatureClass

pEditor.StartEditing pDataset.Workspace

' If this macro fails even once, the Editor will become bedwangled.
' When this happens, uncomment the StopOperation() below to keep moving.
' pEditor.StopOperation "Create circle quadrants"

pEditor.StartOperation

Dim pArea As IArea
Set pArea = pSearchFeature.Shape

Dim pCentroid As IPoint
Set pCentroid = pArea.Centroid

Dim pTopoOp As ITopologicalOperator
Set pTopoOp = pCentroid

Dim pBufferedPoint As IGeometry
Set pBufferedPoint = pTopoOp.Buffer(100)

Dim pFeature As IFeature

' This stores the original circle from the buffered centroid
' Set pFeature = pFeatureLayer.FeatureClass.CreateFeature
' Set pFeature.Shape = pBufferedPoint
' pFeature.Store

Dim pCircleEnvelope As IEnvelope
Set pCircleEnvelope = pBufferedPoint.Envelope

Dim pEnv As IEnvelope
Dim pPointCollection As IPointCollection

' LOWER LEFT

Set pEnv = New Envelope
Set pEnv.SpatialReference = pCentroid.SpatialReference

pEnv.PutCoords pCircleEnvelope.LowerLeft.X, pCircleEnvelope.LowerLeft.Y, pCircleEnvelope.LowerRight.X - (pCircleEnvelope.Width / 2), pCircleEnvelope.UpperLeft.Y - (pCircleEnvelope.Height / 2)

Dim pQuadrantPoly As IPolygon
Set pQuadrantPoly = New Polygon
Set pQuadrantPoly.SpatialReference = pCentroid.SpatialReference
Set pPointCollection = pQuadrantPoly

Dim pLLPoint As IPoint
Dim pULPoint As IPoint
Dim pURPoint As IPoint
Dim pLRPoint As IPoint

Set pLLPoint = New Point
Set pULPoint = New Point
Set pURPoint = New Point
Set pLRPoint = New Point

pLLPoint.PutCoords pEnv.LowerLeft.X, pEnv.LowerLeft.Y
pULPoint.PutCoords pEnv.UpperLeft.X, pEnv.UpperLeft.Y
pURPoint.PutCoords pEnv.UpperRight.X, pEnv.UpperRight.Y
pLRPoint.PutCoords pEnv.LowerRight.X, pEnv.LowerRight.Y

pPointCollection.AddPoint pLLPoint
pPointCollection.AddPoint pULPoint
pPointCollection.AddPoint pURPoint
pPointCollection.AddPoint pLRPoint

pQuadrantPoly.Close
pQuadrantPoly.SimplifyPreserveFromTo

If pQuadrantPoly.IsEmpty Then
&amp;nbsp;&amp;nbsp;&amp;nbsp; MsgBox "Failed to create lower left quadrant!"
End If

Set pFeature = pFeatureLayer.FeatureClass.CreateFeature
Set pTopoOp = pQuadrantPoly

Set pFeature.Shape = pTopoOp.Intersect(pBufferedPoint, esriGeometry2Dimension)
pFeature.Store

' LOWER RIGHT

Set pEnv = New Envelope
Set pEnv.SpatialReference = pCentroid.SpatialReference

pEnv.PutCoords pCircleEnvelope.LowerRight.X - (pCircleEnvelope.Width / 2), pCircleEnvelope.LowerLeft.Y, pCircleEnvelope.LowerRight.X, pCircleEnvelope.UpperLeft.Y - (pCircleEnvelope.Height / 2)

Set pQuadrantPoly = New Polygon
Set pQuadrantPoly.SpatialReference = pCentroid.SpatialReference
Set pPointCollection = pQuadrantPoly

Set pLLPoint = New Point
Set pULPoint = New Point
Set pURPoint = New Point
Set pLRPoint = New Point

pLLPoint.PutCoords pEnv.LowerLeft.X, pEnv.LowerLeft.Y
pULPoint.PutCoords pEnv.UpperLeft.X, pEnv.UpperLeft.Y
pURPoint.PutCoords pEnv.UpperRight.X, pEnv.UpperRight.Y
pLRPoint.PutCoords pEnv.LowerRight.X, pEnv.LowerRight.Y

pPointCollection.AddPoint pLLPoint
pPointCollection.AddPoint pULPoint
pPointCollection.AddPoint pURPoint
pPointCollection.AddPoint pLRPoint

pQuadrantPoly.Close
pQuadrantPoly.SimplifyPreserveFromTo

If pQuadrantPoly.IsEmpty Then
&amp;nbsp;&amp;nbsp;&amp;nbsp; MsgBox "Failed to create lower right polygon!"
End If

Set pFeature = pFeatureLayer.FeatureClass.CreateFeature
Set pTopoOp = pQuadrantPoly

Set pFeature.Shape = pTopoOp.Intersect(pBufferedPoint, esriGeometry2Dimension)
pFeature.Store

' UPPER LEFT

Set pEnv = New Envelope
Set pEnv.SpatialReference = pCentroid.SpatialReference

pEnv.PutCoords pCircleEnvelope.LowerLeft.X, pCircleEnvelope.UpperLeft.Y - (pCircleEnvelope.Height / 2), pCircleEnvelope.LowerRight.X - (pCircleEnvelope.Width / 2), pCircleEnvelope.UpperLeft.Y

Set pQuadrantPoly = New Polygon
Set pQuadrantPoly.SpatialReference = pCentroid.SpatialReference
Set pPointCollection = pQuadrantPoly

Set pLLPoint = New Point
Set pULPoint = New Point
Set pURPoint = New Point
Set pLRPoint = New Point

pLLPoint.PutCoords pEnv.LowerLeft.X, pEnv.LowerLeft.Y
pULPoint.PutCoords pEnv.UpperLeft.X, pEnv.UpperLeft.Y
pURPoint.PutCoords pEnv.UpperRight.X, pEnv.UpperRight.Y
pLRPoint.PutCoords pEnv.LowerRight.X, pEnv.LowerRight.Y

pPointCollection.AddPoint pLLPoint
pPointCollection.AddPoint pULPoint
pPointCollection.AddPoint pURPoint
pPointCollection.AddPoint pLRPoint

pQuadrantPoly.Close
pQuadrantPoly.SimplifyPreserveFromTo

If pQuadrantPoly.IsEmpty Then
&amp;nbsp;&amp;nbsp;&amp;nbsp; MsgBox "Failed to create upper left polygon!"
End If

Set pFeature = pFeatureLayer.FeatureClass.CreateFeature
Set pTopoOp = pQuadrantPoly

Set pFeature.Shape = pTopoOp.Intersect(pBufferedPoint, esriGeometry2Dimension)
pFeature.Store

' UPPER RIGHT

Set pEnv = New Envelope
Set pEnv.SpatialReference = pCentroid.SpatialReference

pEnv.PutCoords pCircleEnvelope.LowerRight.X - (pCircleEnvelope.Width / 2), pCircleEnvelope.UpperLeft.Y - (pCircleEnvelope.Height / 2), pCircleEnvelope.LowerRight.X, pCircleEnvelope.UpperLeft.Y

Set pQuadrantPoly = New Polygon
Set pQuadrantPoly.SpatialReference = pCentroid.SpatialReference
Set pPointCollection = pQuadrantPoly

Set pLLPoint = New Point
Set pULPoint = New Point
Set pURPoint = New Point
Set pLRPoint = New Point

pLLPoint.PutCoords pEnv.LowerLeft.X, pEnv.LowerLeft.Y
pULPoint.PutCoords pEnv.UpperLeft.X, pEnv.UpperLeft.Y
pURPoint.PutCoords pEnv.UpperRight.X, pEnv.UpperRight.Y
pLRPoint.PutCoords pEnv.LowerRight.X, pEnv.LowerRight.Y

pPointCollection.AddPoint pLLPoint
pPointCollection.AddPoint pULPoint
pPointCollection.AddPoint pURPoint
pPointCollection.AddPoint pLRPoint

pQuadrantPoly.Close
pQuadrantPoly.SimplifyPreserveFromTo

If pQuadrantPoly.IsEmpty Then
&amp;nbsp;&amp;nbsp;&amp;nbsp; MsgBox "Failed to create upper right polygon!"
End If

Set pFeature = pFeatureLayer.FeatureClass.CreateFeature
Set pTopoOp = pQuadrantPoly

Set pFeature.Shape = pTopoOp.Intersect(pBufferedPoint, esriGeometry2Dimension)
pFeature.Store

' ...... all quadrants created ......

pEditor.StopOperation "Create circle quadrants"
pEditor.StopEditing True

Dim pActiveView As IActiveView
Set pActiveView = pMxd.FocusMap
pActiveView.Refresh

End Sub
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 10:18:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/draw-a-circle-from-the-centroid-of-a-polygon-and/m-p/208577#M5433</guid>
      <dc:creator>KingsleyPayne</dc:creator>
      <dc:date>2021-12-11T10:18:03Z</dc:date>
    </item>
  </channel>
</rss>

