Tagged Questions
0
votes
1answer
48 views
Create road speed limit segments with linear referencing
I have a route-feature class and a point feature class with speed limit signs. In ArcMap I am capable to reference the signs on the route with help of a reference field and using the locate features ...
0
votes
0answers
19 views
Problem with ObjectClassEvents_OnChange
I currently using ObjectClassEvents_OnChange event to prevent the user from make any changes on the features in ArcMap, i want to prevent the user from moving and edit the shape of the features.
The ...
2
votes
0answers
46 views
How to prevent the user from moving the feature?
I want to prevent the user from moving the feature in ArcMap when editing.
I used OnChangeFeature event but it does not work.
void m_editEvents_OnChangeFeature(IObject obj)
{
...
3
votes
1answer
69 views
How to prevent user from deleting a feature?
How can I prevent the user from deleting a feature?
void m_editEvents_OnDeleteFeature(IObject obj)
{
// Code
}
2
votes
1answer
88 views
How to cancel the edit session?
I want to prevent the user from starting an edit session under certain conditions.
How can I do that?
void m_editEvents_OnStartEditing()
{
// Code
}
1
vote
1answer
97 views
Listen to edit events
I recently started working on ArcMap.
I want to make some changes to the edit tools.
For example I want to prevent the user from using the sketch tool when the time is between 1pm and 2pm
But I ...
0
votes
0answers
24 views
Layer added event
Is there an event that fires when a layer has been added to the map controls.
I want to lay it down in Startup method :
public void Startup(ref object initializationData)
{
}
1
vote
1answer
357 views
ArcObjects - Listening for Map Click in ArcMap
I have a seemingly simple requirement that is causing me all types of headaches - listening for a map click event in ArcMap via ArcObjects. Simple as that, just tell me when the map is clicked (and ...
7
votes
3answers
2k views
ArcObjects (ArcGIS for Desktop and C#): How to cast between the ArcMap COM UI and my custom .Net UserControl objects?
I'm creating a utility to run in ArcGIS for Desktop using ArcObjects (9.3.1 SDK) and C#.Net. My prototype involves a toolbar with two comboboxes and a tool. The first combo selects a layer in the TOC, ...
5
votes
2answers
236 views
ArcObjects Class Extension - core events not being fired by an editing tool
I think I've just hit a major limitation with how ArcMap (10) deals with class extensions on a Feature Class but I would first like to make sure I'm not missing something or seeing a bug.
I have a ...
3
votes
2answers
899 views
How to list ActiveView SelectionChanged event delegates in ArcObjects .NET?
I currently have an issue in an ArcObjects ArcMap add-in where my event handlers are seemingly-randomly being unhooked from the event I'm trying to catch. I've spent some time looking for a way to ...
3
votes
2answers
3k views
How to implement mouse down event when the user clicks on the map?
Newbie programming in C#.net.
I have a very simple desktop application in in arcmap.
I'm trying to get the coordinates when a user clicks a button on a toolbar and when click the map.
The toolbar is ...