| 
             
                POST		  
                
             
         | 
        
        
 
					
							 Sorry i got a bit derailed with 3.2 release issues (upcoming in the next couple of weeks).  Anyways, i am back on it now.   I will take a look at your test as well.  Thanks much. 
						
					
					... View more
				 
			
			
			
			
				
			
			
			
			
			
			
		
			
    
	
		
		
		10-23-2023
	
		
		01:20 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		          | 
        
             
                
                0
             
         | 
        
             
                
                0
             
         | 
        
             
                
                    
                
                1228
             
         | 
    
| 
             
                POST		  
                
             
         | 
        
        
 
					
							 So far i was not able to duplicate your observation for Annotation Features, but i did notice some different oddities:  For RowCreatedEvent:  For each row created (via inspector) there is ONE RowChangedEvent that fires.  For RowChangedEvent:  For each row modified (via inspector) there are TWO RowChangedEvents that fire.  i think that the two RowChangedEvents firing for each row update might be an issue, we are still looking at this issue.  I tested this for File GDB, Enterprise Direct Connect (not versioned) and Enterprise Direct Connect (traditional versioned). I didn't test Branched version yet.  If i ran the same test on a point feature class each modification of a row would only yield a single RowChanged event.  I will test utility network and branched version next. 
						
					
					... View more
				 
			
			
			
			
				
			
			
			
			
			
			
		
			
    
	
		
		
		10-17-2023
	
		
		11:12 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		          | 
        
             
                
                0
             
         | 
        
             
                
                1
             
         | 
        
             
                
                    
                
                1262
             
         | 
    
| 
             
                POST		  
                
             
         | 
        
        
 
					
							 Instead of creating the data on the fly for your memory GDB feature classes, you could have additional fields that hold the result of your custom logic.  This way you can code your custom logic in .Net and use the custom field for display or filtering.   Otherwise, you have to use different definition queries (and Map layers) for each 'custom logic' variant (as mentioned above by @GKmieliauskas ) 
						
					
					... View more
				 
			
			
			
			
				
			
			
			
			
			
			
		
			
    
	
		
		
		10-11-2023
	
		
		02:15 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		          | 
        
             
                
                0
             
         | 
        
             
                
                0
             
         | 
        
             
                
                    
                
                819
             
         | 
    
| 
             
                POST		  
                
             
         | 
        
        
 
					
							 i am not sure what you mean with:  "By focus I mean the blue line across the map tool's dockpane or embeddable control. "  However, in essence you would have to monitor feature selection and if your data selection conditions are useable by your tool you can then switch the current tool to your tool (or enable the tool button). 
						
					
					... View more
				 
			
			
			
			
				
			
			
			
			
			
			
		
			
    
	
		
		
		10-11-2023
	
		
		02:03 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		          | 
        
             
                
                0
             
         | 
        
             
                
                2
             
         | 
        
             
                
                    
                
                1297
             
         | 
    
| 
             
                POST		  
                
             
         | 
        
        
 
					
							 This article explains the reasons why support for personal geodatabases was dropped with ArcGIS Pro: It's Not Personal: A quick history of the geodatabase and why personal geodatabases are not in ArcGIS Pro (esri.com)  What release of ArcGIS Pro are you using?   You can write a 'Plug-in Datasource' extension using the Pro SDK to implement a reader for your .MDB access database (aka 'personal geodatabase').  'Plug-in Datasources' only allow read access to the data and hence there is no easy way to write to an access database.   I would suggest writing your ArcGIS Pro add-in so that it reads and writes to a File Geodatabase instead of the old 'personal geodatabase'.    Let me know if you're interested in the 'personal geodatabase Plug-in DataSource' for ArcGIS Pro.   I can probably find the code for that.  I think the Plug-in DataSource is using this NuGet to access the .MDB files:  NuGet Gallery | System.Data.OleDb 7.0.0  This will work in you x64 Add-in but is limited to access of tabular data only (no spatial data). 
						
					
					... View more
				 
			
			
			
			
				
			
			
			
			
			
			
		
			
    
	
		
		
		10-06-2023
	
		
		05:03 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		          | 
        
             
                
                0
             
         | 
        
             
                
                0
             
         | 
        
             
                
                    
                
                1195
             
         | 
    
| 
             
                POST		  
                
             
         | 
        
        
 
					
							 The tool is called:   esri_editing_EditVerticesRotate      This is how to programmatically execute the rotate tool; however, the subject polygon has to be selected.  var commandId = @"esri_editing_EditVerticesRotate";
var iCommand = FrameworkApplication.GetPlugInWrapper(commandId) as ICommand;
if (iCommand != null)
{
  if (iCommand.CanExecute(null)) iCommand.Execute(null);
}       
						
					
					... View more
				 
			
			
			
			
				
			
			
			
			
			
			
		
			
    
	
		
		
		10-02-2023
	
		
		01:15 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		          | 
        
             
                
                1
             
         | 
        
             
                
                1
             
         | 
        
             
                
                    
                
                1005
             
         | 
    
| 
             
                POST		  
                
             
         | 
        
        
 
					
							 In ArcGIS Pro you don't have to define the class breaks manually anymore.  Instead, you simply specify the Classification Method.   In the snippet below ClassificationMethod.NaturalBreaks is used.     The Geodatabase API provides some functionality to get table statistics like standard deviation.  You can find some information here:  ProConcepts Geodatabase · Esri/arcgis-pro-sdk Wiki (github.com)     internal static Task CBRendererGraduatedSymbols()
{
  //Check feature layer name
  //Code works with the USDemographics feature layer available with the ArcGIS Pro SDK Sample data
  var featureLayer = MapView.Active.Map.GetLayersAsFlattenedList().OfType<FeatureLayer>().FirstOrDefault(f => f.Name == "USDemographics");
  if (featureLayer == null)
  {
    MessageBox.Show("This renderer works with the USDemographics feature layer available with the ArcGIS Pro SDK Sample data", "Data missing");
    return Task.FromResult(0);
  }
  return QueuedTask.Run(() =>
    {
        GraduatedSymbolsRendererDefinition gsDef = new GraduatedSymbolsRendererDefinition()
        {                   
            ClassificationField = SDKHelpers.GetNumericField(featureLayer), //getting the first numeric field
            ClassificationMethod = ClassificationMethod.NaturalBreaks,
            SymbolTemplate = SymbolFactory.Instance.ConstructPointSymbol(CIMColor.CreateRGBColor(76,230,0)).MakeSymbolReference(),
            MinimumSymbolSize = 4,
            MaximumSymbolSize = 50,
            BreakCount = 5,
            ColorRamp = SDKHelpers.GetColorRamp(), //getting a color ramp
        };
        CIMClassBreaksRenderer renderer = (CIMClassBreaksRenderer)featureLayer.CreateRenderer(gsDef);
        featureLayer?.SetRenderer(renderer);
    });
}        You can find more about Renderers here:  arcgis-pro-sdk-community-samples/Map-Authoring/Renderer at master · Esri/arcgis-pro-sdk-community-samples (github.com)    
						
					
					... View more
				 
			
			
			
			
				
			
			
			
			
			
			
		
			
    
	
		
		
		09-25-2023
	
		
		02:24 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		          | 
        
             
                
                2
             
         | 
        
             
                
                1
             
         | 
        
             
                
                    
                
                961
             
         | 
    
| 
             
                POST		  
                
             
         | 
        
        
 
					
							 can you provide the Add-in button's config.daml line and also the location and the properties of the image that you are referencing in the config.daml? 
						
					
					... View more
				 
			
			
			
			
				
			
			
			
			
			
			
		
			
    
	
		
		
		09-22-2023
	
		
		07:39 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		          | 
        
             
                
                0
             
         | 
        
             
                
                1
             
         | 
        
             
                
                    
                
                2444
             
         | 
    
| 
             
                POST		  
                
             
         | 
        
        
 
					
							 Here are a few things to consider:  - Did Project.Current.SaveEditsAsync() return true?  - Do you see the newly added data in the table view in ArcGIS Pro ?  - Is your GeoDatabase versioned?  If so that might explain why you don't see the data using SQL Server. 
						
					
					... View more
				 
			
			
			
			
				
			
			
			
			
			
			
		
			
    
	
		
		
		09-21-2023
	
		
		04:27 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		          | 
        
             
                
                0
             
         | 
        
             
                
                2
             
         | 
        
             
                
                    
                
                973
             
         | 
    
| 
             
                POST		  
                
             
         | 
        
        
 
					
							 I usually do a rebuild after i change the config.daml ... I can't recall why.  But if that doesn't work check if you have any other instances of ArcGIS Pro running. 
						
					
					... View more
				 
			
			
			
			
				
			
			
			
			
			
			
		
			
    
	
		
		
		09-18-2023
	
		
		11:41 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		          | 
        
             
                
                0
             
         | 
        
             
                
                2
             
         | 
        
             
                
                    
                
                2473
             
         | 
    
| 
             
                POST		  
                
             
         | 
        
        
 
					
							 There is no need to downgrade to 3.0 ... migrating your 2.7 project to 3.1 should work as well as migrating to 3.0.  If you have a 3.1 project and you want to develop / run on 3.0 then you have to make a change in the config.daml under the AddInInfo tag by changing the 'desktopVersion' attribute to 3.0.0.  <AddInInfo id="..." version="1.01" desktopVersion="3.0.36056"> 
						
					
					... View more
				 
			
			
			
			
				
			
			
			
			
			
			
		
			
    
	
		
		
		09-17-2023
	
		
		12:32 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		          | 
        
             
                
                0
             
         | 
        
             
                
                1
             
         | 
        
             
                
                    
                
                2489
             
         | 
    
| 
             
                POST		  
                
             
         | 
        
        
 
					
							 Sorry i forgot to include the GetScreenPointsInMapUnits method in my snippet above.    private double GetScreenPointsInMapUnits (double pixels, MapView mapView)
{
  var left = new Point(0, 0);
  var right = new Point(0, pixels);
  var pntLeft = mapView.ClientToMap(left);
  var pntRight = mapView.ClientToMap(right);
  var line = LineBuilderEx.CreateLineSegment (pntLeft, pntRight);
  return line.Length;
}  In essence the method takes the tolerance in screen units (i.e. pixels) and returns the tolerance in units for the current active map's spatial reference.  So when i generate the circle geometry for the search i can then use toleranceInMapUnits as the radius for the circle. 
						
					
					... View more
				 
			
			
			
			
				
			
			
			
			
			
			
		
			
    
	
		
		
		09-14-2023
	
		
		03:44 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		          | 
        
             
                
                0
             
         | 
        
             
                
                0
             
         | 
        
             
                
                    
                
                1106
             
         | 
    
| 
             
                POST		  
                
             
         | 
        
        
 
					
							 Thanks for pointing out the issue with the sample, i will correct the issue for the upcoming 3.2 release.     This code uses a circle around the click point using the pixel tolerance as the radius:     // pixel tolerance
var toleranceInScreenUnits = 10;
// Use bottomRight to popup the dynamic menu result
bottomRight = new Point(clickedPnt.X + toleranceInScreenUnits, clickedPnt.Y + toleranceInScreenUnits);
var toleranceInMapUnits = GetScreenPointsInMapUnits(toleranceInScreenUnits, MapView.Active);
// Create a search circle around the click point using the pixel tolerance as a radius
var pnt = MapView.Active.ClientToMap(new Point(clickedPnt.X, clickedPnt.Y));
var arcSegment = EllipticArcBuilderEx.CreateCircle(pnt.Coordinate2D, toleranceInMapUnits, ArcOrientation.ArcClockwise, pnt.SpatialReference);
var circlePolygon = PolygonBuilderEx.CreatePolygon(new[] { arcSegment });
//Get the features that intersect the search circle polygon
var result = ActiveMapView.GetFeatures(circlePolygon);  Here is a screenshot that show the search polygon on the map:           
						
					
					... View more
				 
			
			
			
			
				
			
			
			
			
			
			
		
			
    
	
		
		
		09-13-2023
	
		
		02:47 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		          | 
        
             
                
                0
             
         | 
        
             
                
                1
             
         | 
        
             
                
                    
                
                1119
             
         | 
    
| 
             
                POST		  
                
             
         | 
        
        
 
					
							 If you don't want the service layer credits to show up on your map you can place them anywhere on your layout as a text element.  You can do this via the ArcGIS Pro UI or programmatically:  String slcText = "<dyn type='layout' name='SLCs' property='serviceLayerCredits'/>";
GraphicElement slcTxtElm = ElementFactory.Instance.CreateTextGraphicElement(layout, TextType.RectangleParagraph, slcEnv, arial8reg, slcText); 
						
					
					... View more
				 
			
			
			
			
				
			
			
			
			
			
			
		
			
    
	
		
		
		09-11-2023
	
		
		02:34 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		          | 
        
             
                
                0
             
         | 
        
             
                
                1
             
         | 
        
             
                
                    
                
                1013
             
         | 
    
| Title | Kudos | Posted | 
|---|---|---|
| 1 | a month ago | |
| 1 | a month ago | |
| 1 | 09-24-2025 09:12 AM | |
| 1 | 07-15-2022 07:30 AM | |
| 1 | 07-14-2025 02:08 PM | 
| Online Status | 
					
			 
	
			
					Offline
				
		
 
		
				 | 
			
| Date Last Visited | 
					
			 
				
    
	
		
		
			Thursday
		
	
	
	
	
	
	
	
	
	
	
	
	
	
			 
		
				 |