<?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 Need to retrieve parcel properties in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/need-to-retrieve-parcel-properties/m-p/396238#M10571</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi guys&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to get properties associated with a parcel in ArcMaps once the GIS technician clicks it.&amp;nbsp; I've got the event handlers set up, references to IMAPS and IMAP, but not sure which class will contain things like the parcel ID.&amp;nbsp; Any suggestions where I might find this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Nov 2013 16:44:05 GMT</pubDate>
    <dc:creator>StevenMumby</dc:creator>
    <dc:date>2013-11-20T16:44:05Z</dc:date>
    <item>
      <title>Need to retrieve parcel properties</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/need-to-retrieve-parcel-properties/m-p/396238#M10571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi guys&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to get properties associated with a parcel in ArcMaps once the GIS technician clicks it.&amp;nbsp; I've got the event handlers set up, references to IMAPS and IMAP, but not sure which class will contain things like the parcel ID.&amp;nbsp; Any suggestions where I might find this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Nov 2013 16:44:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/need-to-retrieve-parcel-properties/m-p/396238#M10571</guid>
      <dc:creator>StevenMumby</dc:creator>
      <dc:date>2013-11-20T16:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: Need to retrieve parcel properties</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/need-to-retrieve-parcel-properties/m-p/396239#M10572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I assume you are developing an Add-In tool in ArcMap.&amp;nbsp; The following are some high level steps you probably want to do.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) From your IMap you can get the parcel layer in TOC by index or enumeration.&amp;nbsp; Find the layer and cast it to IFeaturelayer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) IFeaturelayer has a mehtod called Search which you will need later.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) You tool has a mouse down event which has parameter of XY (this is the screen display XY).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4) Inside the mouse down event handler you will need to transform XY to map XY.&amp;nbsp; Look at IScreenDisplay, you can get there using your map document's ActiveView property.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5) With map XY, you will be able to create a point geometry.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;6) Use this point in a ISpatialfiler.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;7) Pass ISpatialfilter into the Search method from step 2 to get a Feature cursor.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt; Cycle thourgh the feature cursor because there could be 0 to many polygons selected.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;9) Find value of the feature by passing in index of the field you're looking for.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;10) Use the value as you wish to display to GIS Technician.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 18:31:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/need-to-retrieve-parcel-properties/m-p/396239#M10572</guid>
      <dc:creator>SteveFang</dc:creator>
      <dc:date>2013-11-21T18:31:15Z</dc:date>
    </item>
    <item>
      <title>Re: Need to retrieve parcel properties</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/need-to-retrieve-parcel-properties/m-p/396240#M10573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't know if I'd call this an add-in tool.&amp;nbsp; I've created a new project from the ArcGIS Desktop Class Library(ArcMap) template.&amp;nbsp; This project template extends from BaseMenu. The user launches my app from the menu which opens a winForm.&amp;nbsp; Inside the winForm they need to manually complete some fields like address street number.&amp;nbsp; Other fields in the winForm will be populated based on parcel attributes the user will select from ArcMap.&amp;nbsp; I believe I understand most of your instructions, but where I get hung up is on the mouseDown event.&amp;nbsp; I need to add code to my winForm to listen for mouseDown events in the ArcMap document.&amp;nbsp; Once I've handled that event, it should be a relatively simple matter of figuring out which parcel the user has selected so I can retrieve those attributes and pass those back to my winForm.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does that make sense?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tks for the assistance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Nov 2013 19:24:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/need-to-retrieve-parcel-properties/m-p/396240#M10573</guid>
      <dc:creator>StevenMumby</dc:creator>
      <dc:date>2013-11-26T19:24:44Z</dc:date>
    </item>
  </channel>
</rss>

