POST
|
Hey Ken The trick is how to change the cursor on the ArcMap map FROM the opened winForm? How do I get a reference from the winForm back to ArcMap? Tks
... View more
04-17-2015
12:30 PM
|
0
|
1
|
263
|
POST
|
Hi guys I'm building an ArcMap add-in. When the user selects my tool and then clicks a parcel, I extract details about the selected parcel, open a new winForm, and pass those into the newly opened winForm. The GIS tech can then update parcel features in that winForm and save back to ArcMap. In some cases, the tech may need to click additional parcels before finishing working in the winForm, so we have special buttons on the winForm to allow them to click more parcels in ArcMap. Question is, how can I change the ArcMap cursor from my winForm when these special buttons are clicked? Tks
... View more
04-17-2015
11:27 AM
|
0
|
3
|
3442
|
POST
|
Hi I don't know if I'd call this an add-in tool. I've created a new project from the ArcGIS Desktop Class Library(ArcMap) template. This project template extends from BaseMenu. The user launches my app from the menu which opens a winForm. Inside the winForm they need to manually complete some fields like address street number. Other fields in the winForm will be populated based on parcel attributes the user will select from ArcMap. I believe I understand most of your instructions, but where I get hung up is on the mouseDown event. I need to add code to my winForm to listen for mouseDown events in the ArcMap document. 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. Does that make sense? Tks for the assistance.
... View more
11-26-2013
11:24 AM
|
0
|
0
|
248
|
POST
|
Hi guys I need to get properties associated with a parcel in ArcMaps once the GIS technician clicks it. 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. Any suggestions where I might find this? Tks
... View more
11-20-2013
08:44 AM
|
0
|
2
|
520
|
POST
|
Ah, it was the casting that was throwing me off. This seems to work: // set the map into edit mode// IMap mMap = mMaps.get_Item(0); ILayer mLayer = mMap.get_Layer(0); IFeatureLayer mFeatureLater = (IFeatureLayer)mLayer; IDataset mDataSet = mFeatureLater.FeatureClass.FeatureDataset; IWorkspace mWorkSpace = mDataSet.Workspace; startEditing(mWorkSpace); Tks for the help, Duncan. Much appreciated.
... View more
11-19-2013
05:18 AM
|
0
|
0
|
385
|
POST
|
Thanks Duncan. Sorry for additional question, but what is pFeatureLayer? I'm a web developer primarily and this is my first go at woring with arcGIS.
... View more
11-18-2013
08:26 AM
|
0
|
0
|
385
|
POST
|
Hi guys I'm writing an ArcMap class library. This will add a menu item to ArcMap. Once the menu option is clicked, I need to set my ArcMaps document into edit mode. I've found a sample piece of code to help me accomplish this, but need to pass in a reference to an object of type IWorkspace. This is being written with ArcObjects 9.3. I currently have access to instances of IApplication and IMaps in my solution. How can I accomplish this? Tks
... View more
11-18-2013
04:43 AM
|
0
|
4
|
836
|
POST
|
Tks. I'm probably getting the lingo wrong. Here's what I've accomplished so far and am trying to do: 1. Created custom menu options as follows: public sealed class CoWAddressPointMenu : BaseMenu, ESRI.ArcGIS.Framework.IRootLevelMenu { public CoWAddressPointMenu() { AddItem("CoW.GIS.AddressPointTool.AddAddressPointCommand", 1); AddItem("CoW.GIS.AddressPointTool.EditAddressPointCommand", 2); } } 2. Open a winForm when either of the above options are clicked. I pass in a reference of IApplication from ArcMap to the new winForm. This exposes a couple of properties I suspect may be useful like IDocument. This winForm has a couple of textboxes that the user needs to complete. Some of the textbox values will be populated by the user clicking on the open ArcMap document, retrieving attributes like the street segment and parcel ID. I'm a web developer taking my first stab at customizing ArcGIS so may be on the wrong path. Any suggestions?
... View more
10-31-2013
11:52 AM
|
0
|
0
|
230
|
POST
|
Hi guys I have a custom command button I've added to ArcMap. When clicked, it opens a new winForm window. Now I need to get a reference for the arcMap's open document or layer (sorry - total newbie, so excuse the poor lingo). How is this possible? From a sample tutorial I've found so far, I see I can pass in a reference from ArcMap of type IApplication to my winForm, but don't think this has what I need to listen for mouse click events on the ArcMap object. Tks
... View more
10-31-2013
10:08 AM
|
0
|
2
|
540
|
POST
|
Ah, that's exactly what I was looking for. Many thanks.
... View more
10-24-2013
04:29 AM
|
0
|
0
|
162
|
POST
|
Hi guys I???m primarily a web developer working with .Net technologies. I know nothing about GIS but have been asked to help extend functionality in ArcGIS desktop. These are the requirements: 1. Add a new toolbar button called something like ???Address Point Tool??? 2. This creates a popup dialogue that allows the user to ???Add Address Point??? or ???Edit Address Point???. 3. Assuming the GIS technician selected ???Add Address Point???, they would then click somewhere on a map. At this point, my tool would make a point on the map and programmatically retrieve the selected point???s parcel ID. 4. The user is then given another popup dialogue which allows them to input an address number to associate with that selected point on the map. 5. The user then clicks on save in the second popup dialogue. This writes the parcel ID to our Address point layer. Can somebody point me to a tutorial or let me know what tools I should be researching to accomplish this? Tks
... View more
10-23-2013
10:58 AM
|
0
|
2
|
495
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|