<?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 Calculate a Field in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/calculate-a-field/m-p/423884#M11441</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi everybody,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a Challange, that I can't resolve myself.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm doing a Clusterplaning over a special area. So I have several polygons, in this Polygons are houses with different attributes . What I want to do is in the first step:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- count the houses and write the result in the attribute field "houses" of the Cluster feature.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- build a sum of housing units (I have another feature class with the attribute "number of housing" units) and write it also in an attribute field of the Cluster feature.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can do this manually with "selecet by location" and statistc for every Cluster, but this takes a lot of time and it works manually. What I want is a script or something like that, which makes all this steps in one step.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the second step:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- update the calculated fields of Cluster polyon, when I reshape a Cluster&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- and calculate the fields when I create a new Cluster&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anybody know how to do this or have scripts for this challanges?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunately I am a beginner in VB and Python.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your help&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Mar 2011 10:09:56 GMT</pubDate>
    <dc:creator>MarcelFrei</dc:creator>
    <dc:date>2011-03-01T10:09:56Z</dc:date>
    <item>
      <title>Calculate a Field</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/calculate-a-field/m-p/423884#M11441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi everybody,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a Challange, that I can't resolve myself.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm doing a Clusterplaning over a special area. So I have several polygons, in this Polygons are houses with different attributes . What I want to do is in the first step:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- count the houses and write the result in the attribute field "houses" of the Cluster feature.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- build a sum of housing units (I have another feature class with the attribute "number of housing" units) and write it also in an attribute field of the Cluster feature.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can do this manually with "selecet by location" and statistc for every Cluster, but this takes a lot of time and it works manually. What I want is a script or something like that, which makes all this steps in one step.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the second step:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- update the calculated fields of Cluster polyon, when I reshape a Cluster&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- and calculate the fields when I create a new Cluster&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anybody know how to do this or have scripts for this challanges?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunately I am a beginner in VB and Python.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your help&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2011 10:09:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/calculate-a-field/m-p/423884#M11441</guid>
      <dc:creator>MarcelFrei</dc:creator>
      <dc:date>2011-03-01T10:09:56Z</dc:date>
    </item>
  </channel>
</rss>

