New answers tagged

2

When creating a feature class from a table (or a text file), you cannot export directly into a feature dataset; this is just an existing limitation of the software. but there could be a good reason behind it. The recommended workaround is to use the Make XY Event Layer GP tool first and then exporting the event layer into a feature class within the feature ...


2

You can do this with the Describe function: desc = arcpy.Describe(your_fc) if desc.editorTrackingEnabled and not desc.isTimeInUTC: print 'you need to switch this to UTC to publish!'


0

What eventually happened was that I joined another table to the event layer and kept only matching records. I figured "I'll just try it, although I don't know why it would work this time." Lo and behold, it worked.


0

Shorten the output filename to 14 characters or less.


2

You can not cast a FeatureClass into a ILayer! Here's the proper way to reach an ILayer from a FeatureClass: .... IFeatureLayer fl = new ESRI.ArcGIS.Carto.FeatureLayer() fl.FeatureClass = FC; var l = fl as ILayer; axMapControl1.AddLayer(l); I am assuming all of your previous methods are correct and you have a valid IFeatuerClass (FC).


1

To do this with ArcPy cursors I think you will need to use both a Search Cursor to read one table and an Update Cursor to write to the other. Since you are using a version that is 10.1 or later I recommend using arcpy.da cursors rather than the old style because they are about 10 times as fast. You would use a run through arcpy.da.SearchCursor() to load a ...


0

If you look at the syntax section of the help file for this tool, what is the output? Then look at the syntax section of the feature class to feature class tool, what is the expected input type? Do they match? This why you should be reading the help file as this explains why the tool will not connect.


-1

Install ArcFM Object Reader Depending on your ArcMap Version Eg: For 10.2 ArcGIS install object Reader 10.2 Below is the link https://infrastructurecommunity.schneider-electric.com/servlet/JiveServlet/download/5372-2-16431/Object_Reader_x32_x64_1021a_for_ArcGIS_10.3_1102.zip If it not recognizing the ArcGIS open your Arcmap and then try to install. After ...


0

If you cast the obj passed to OnChangeFeature as IFeatureChanges, you can check ShapeChanged to determine if the shape has changed (and not just an attribute).


4

If you are using ArcObjects / .NET, you would have to listen to the OnChangeFeature event of the Editor object e.g. var editorUid = new UIDClass { Value = "esriEditor.Editor" }; var editEvents = (IEditEvents_Event)Application.FindExtensionByCLSID(editorUid); editEvents.OnChangeFeature += obj => { MessageBox.Show("Change " + obj.OID); }; Please consult ...



Top 50 recent answers are included