POST
|
I have a very old 9.3 system. Users check out data, edit data and check in. Few days ago, users reported that they cannot check out. I found that the versioning of data is unregistered, so I enabled the versioning. Now, the users reported they cannot check in, "The feature is mutually exclusive. Cannot update shape." is shown. How can I resolve the problem.
... View more
08-25-2022
05:26 AM
|
0
|
0
|
261
|
POST
|
Currently, I have a utility network and I am using ArcGIS Pro to create connectivity association among features. How can I do so by python scripts? Thx.
... View more
08-17-2022
05:17 AM
|
0
|
1
|
222
|
POST
|
I have generated feature-linked annotation by "Export Label to Annotation" in ArcGIS Pro. Now I have to shift the positions of the annotations. I have tried to make a standalone program by ArcObjects but failed to open the annotation feature class. How can I do so by ArcGIS Pro SDK?
... View more
05-04-2022
08:41 PM
|
0
|
0
|
286
|
POST
|
I have generated feature-linked annotations by "Export Label To Annotations" in ArcGIS Pro. Now, I have to shift the positions of the annotations. How can I do so in ArcGIS Pro python? I have tried to update the shape field but failed.
... View more
05-04-2022
08:12 PM
|
0
|
0
|
275
|
POST
|
Thanks for your help. But I wants to align the exported annotations to points in feature class B. How can I shift the position of annotations in python script?
... View more
04-27-2022
11:40 PM
|
0
|
0
|
321
|
POST
|
I have a point feature class A and another point feature class with text field B. Both feature classes can be joined by common field XFM_ID. How can I create a feature-linked annotation class C from feature class B so the annotations are linked to feature class A?
... View more
04-26-2022
02:44 AM
|
0
|
2
|
381
|
POST
|
I have developed a program to call the "Export To CAD" geoprocessing tool to export the feature classes in personal geodatabase to AutoCAD DWG files. Below are the codes: private static void ExportToCADByGP(string mdbPath, string fcs, string outputType, string outputFile, string ignorePathsInTables = "Use_Filenames_in_Tables", string appendToExistingFiles = "Overwrite_Existing_Files", string seedFile = "") { int i; IGeoProcessor gp = null; IGPUtilities gpUtils; IVariantArray parameters; StringBuilder gpMsg; try { gp = new GeoProcessor(); gp.SetEnvironmentValue("workspace", mdbPath); parameters = new VarArray(); parameters.Add(fcs); parameters.Add(outputType); parameters.Add(outputFile); if (string.IsNullOrEmpty(ignorePathsInTables)) { parameters.Add(ignorePathsInTables); parameters.Add(appendToExistingFiles); parameters.Add(seedFile); } gp.Execute("ExportCAD_conversion", parameters, null); parameters.RemoveAll(); gp.ClearMessages(); gpUtils = new GPUtilities(); gpUtils.ReleaseInternals(); Marshal.ReleaseComObject(parameters); Marshal.ReleaseComObject(gpUtils); } catch (Exception ex) { if (gp == null) { Logger.Debug("ExportCAD: " + ex.Message); } else { gpMsg = new StringBuilder("Error running Export to CAD\r\n"); for (i = 0; i < gp.MessageCount; i++) gpMsg.AppendLine(gp.GetMessage(i)); Logger.Debug("ExportCAD: " + gpMsg.ToString()); } } } But when I ran the problem, the exception below occurred occasionally: Executing: ExportCAD D:\Export\Temp\F_MAIN.shp;D:\Export\Temp\R_MAIN.shp;D:\Export\Temp\temp.mdb\F_AIRVALVE;D:\Export\Temp\temp.mdb\F_CPI;D:\Export\Temp\temp.mdb\F_FITTING;D:\Export\Temp\temp.mdb\F_FLOWCTLVALVE;D:\Export\Temp\temp.mdb\F_HYDRANT;D:\Export\Temp\temp.mdb\F_MANHOLE;D:\Export\Temp\temp.mdb\F_MANHOLE_PY;D:\Export\Temp\temp.mdb\F_METER;D:\Export\Temp\temp.mdb\F_MISC_PT;D:\Export\Temp\temp.mdb\F_MISCINSTALL_PY;D:\Export\Temp\temp.mdb\F_MSC_LN;D:\Export\Temp\temp.mdb\F_PUMPSTN_PY;D:\Export\Temp\temp.mdb\F_SVCRSVRTNK_PY;D:\Export\Temp\temp.mdb\F_TRTWKS_PY;D:\Export\Temp\temp.mdb\R_AIRVALVE;D:\Export\Temp\temp.mdb\R_CPI;D:\Export\Temp\temp.mdb\R_FITTING;D:\Export\Temp\temp.mdb\R_FLOWCTLVALVE;D:\Export\Temp\temp.mdb\R_HYDRANT;D:\Export\Temp\temp.mdb\R_MANHOLE;D:\Export\Temp\temp.mdb\R_MANHOLE_PY;D:\Export\Temp\temp.mdb\R_METER;D:\Export\Temp\temp.mdb\R_MISC_PT;D:\Export\Temp\temp.mdb\R_MISCINSTALL_PY;D:\Export\Temp\temp.mdb\R_PUMPSTN_PY;D:\Export\Temp\temp.mdb\R_SVCRSVRTNK_PY;D:\Export\Temp\temp.mdb\R_RESERVOIR_PY;D:\Export\Temp\temp.mdb\R_TRTWKS_PY;D:\Export\Temp\temp.mdb\F_TEMP_POINT;D:\Export\Temp\temp.mdb\R_TEMP_POINT;D:\Export\Temp\temp.mdb\F_ANNO_POINT;D:\Export\Temp\temp.mdb\F_TEMP_LINE;D:\Export\Temp\temp.mdb\R_TEMP_LINE DWG_R2000 D:\Jimmy\F07-SW-16A.DWG Ignore_Filenames_in_Tables Overwrite_Existing_Files D:\Export\Temp\template.dwg Start Time: Thu Dec 2 10:03:49 2021 ...Exporting D:\Export\Temp\F_MAIN.shp to CAD .....exporting to D:\Jimmy\F07-SW-16A.DWG ...Exporting D:\Export\Temp\R_MAIN.shp to CAD .....exporting to D:\Jimmy\F07-SW-16A.DWG ...Exporting D:\Export\Temp\temp.mdb\F_AIRVALVE to CAD .....exporting to D:\Jimmy\F07-SW-16A.DWG ...Exporting D:\Export\Temp\temp.mdb\F_CPI to CAD .....exporting to D:\Jimmy\F07-SW-16A.DWG ...Exporting D:\Export\Temp\temp.mdb\F_FITTING to CAD .....exporting to D:\Jimmy\F07-SW-16A.DWG ...Exporting D:\Export\Temp\temp.mdb\F_FLOWCTLVALVE to CAD .....exporting to D:\Jimmy\F07-SW-16A.DWG ...Exporting D:\Export\Temp\temp.mdb\F_HYDRANT to CAD .....exporting to D:\Jimmy\F07-SW-16A.DWG ...Exporting D:\Export\Temp\temp.mdb\F_MANHOLE to CAD .....exporting to D:\Jimmy\F07-SW-16A.DWG ...Exporting D:\Export\Temp\temp.mdb\F_MANHOLE_PY to CAD .....exporting to D:\Jimmy\F07-SW-16A.DWG ...Exporting D:\Export\Temp\temp.mdb\F_METER to CAD .....exporting to D:\Jimmy\F07-SW-16A.DWG ...Exporting D:\Export\Temp\temp.mdb\F_MISC_PT to CAD .....exporting to D:\Jimmy\F07-SW-16A.DWG ...Exporting D:\Export\Temp\temp.mdb\F_MISCINSTALL_PY to CAD .....exporting to D:\Jimmy\F07-SW-16A.DWG ...Exporting D:\Export\Temp\temp.mdb\F_MSC_LN to CAD .....exporting to D:\Jimmy\F07-SW-16A.DWG ...Exporting D:\Export\Temp\temp.mdb\F_PUMPSTN_PY to CAD .....exporting to D:\Jimmy\F07-SW-16A.DWG ...Exporting D:\Export\Temp\temp.mdb\F_SVCRSVRTNK_PY to CAD .....exporting to D:\Jimmy\F07-SW-16A.DWG ...Exporting D:\Export\Temp\temp.mdb\F_TRTWKS_PY to CAD .....exporting to D:\Jimmy\F07-SW-16A.DWG ...Exporting D:\Export\Temp\temp.mdb\R_AIRVALVE to CAD .....exporting to D:\Jimmy\F07-SW-16A.DWG ...Exporting D:\Export\Temp\temp.mdb\R_CPI to CAD .....exporting to D:\Jimmy\F07-SW-16A.DWG ...Exporting D:\Export\Temp\temp.mdb\R_FITTING to CAD .....exporting to D:\Jimmy\F07-SW-16A.DWG ...Exporting D:\Export\Temp\temp.mdb\R_FLOWCTLVALVE to CAD .....exporting to D:\Jimmy\F07-SW-16A.DWG ...Exporting D:\Export\Temp\temp.mdb\R_HYDRANT to CAD .....exporting to D:\Jimmy\F07-SW-16A.DWG ...Exporting D:\Export\Temp\temp.mdb\R_MANHOLE to CAD .....exporting to D:\Jimmy\F07-SW-16A.DWG ...Exporting D:\Export\Temp\temp.mdb\R_MANHOLE_PY to CAD .....exporting to D:\Jimmy\F07-SW-16A.DWG ...Exporting D:\Export\Temp\temp.mdb\R_METER to CAD .....exporting to D:\Jimmy\F07-SW-16A.DWG ...Exporting D:\Export\Temp\temp.mdb\R_MISC_PT to CAD .....exporting to D:\Jimmy\F07-SW-16A.DWG ...Exporting D:\Export\Temp\temp.mdb\R_MISCINSTALL_PY to CAD .....exporting to D:\Jimmy\F07-SW-16A.DWG ERROR 000508: Unable to create D:\Jimmy\F07-SW-16A.DWG: Failure During Save Failed to execute (ExportCAD). Failed at Thu Dec 2 10:03:57 2021 (Elapsed Time: 8.81 seconds) Executing: ExportCAD D:\Export\Temp\F_MAIN.shp;D:\Export\Temp\R_MAIN.shp;D:\Export\Temp\temp.mdb\F_AIRVALVE;D:\Export\Temp\temp.mdb\F_CPI;D:\Export\Temp\temp.mdb\F_FITTING;D:\Export\Temp\temp.mdb\F_FLOWCTLVALVE;D:\Export\Temp\temp.mdb\F_HYDRANT;D:\Export\Temp\temp.mdb\F_MANHOLE;D:\Export\Temp\temp.mdb\F_MANHOLE_PY;D:\Export\Temp\temp.mdb\F_METER;D:\Export\Temp\temp.mdb\F_MISC_PT;D:\Export\Temp\temp.mdb\F_MISCINSTALL_PY;D:\Export\Temp\temp.mdb\F_MSC_LN;D:\Export\Temp\temp.mdb\F_PUMPSTN_PY;D:\Export\Temp\temp.mdb\F_SVCRSVRTNK_PY;D:\Export\Temp\temp.mdb\F_TRTWKS_PY;D:\Export\Temp\temp.mdb\R_AIRVALVE;D:\Export\Temp\temp.mdb\R_CPI;D:\Export\Temp\temp.mdb\R_FITTING;D:\Export\Temp\temp.mdb\R_FLOWCTLVALVE;D:\Export\Temp\temp.mdb\R_HYDRANT;D:\Export\Temp\temp.mdb\R_MANHOLE;D:\Export\Temp\temp.mdb\R_MANHOLE_PY;D:\Export\Temp\temp.mdb\R_METER;D:\Export\Temp\temp.mdb\R_MISC_PT;D:\Export\Temp\temp.mdb\R_MISCINSTALL_PY;D:\Export\Temp\temp.mdb\R_PUMPSTN_PY;D:\Export\Temp\temp.mdb\R_SVCRSVRTNK_PY;D:\Export\Temp\temp.mdb\R_RESERVOIR_PY;D:\Export\Temp\temp.mdb\R_TRTWKS_PY;D:\Export\Temp\temp.mdb\F_TEMP_POINT;D:\Export\Temp\temp.mdb\R_TEMP_POINT;D:\Export\Temp\temp.mdb\F_ANNO_POINT;D:\Export\Temp\temp.mdb\F_TEMP_LINE;D:\Export\Temp\temp.mdb\R_TEMP_LINE DWG_R2000 D:\Jimmy\F07-SW-16B.DWG Ignore_Filenames_in_Tables Overwrite_Existing_Files D:\Export\Temp\template.dwg Start Time: Thu Dec 2 10:09:00 2021 ...Exporting D:\Export\Temp\F_MAIN.shp to CAD .....exporting to D:\Jimmy\F07-SW-16B.DWG ...Exporting D:\Export\Temp\R_MAIN.shp to CAD .....exporting to D:\Jimmy\F07-SW-16B.DWG ...Exporting D:\Export\Temp\temp.mdb\F_AIRVALVE to CAD .....exporting to D:\Jimmy\F07-SW-16B.DWG ...Exporting D:\Export\Temp\temp.mdb\F_CPI to CAD .....exporting to D:\Jimmy\F07-SW-16B.DWG ...Exporting D:\Export\Temp\temp.mdb\F_FITTING to CAD .....exporting to D:\Jimmy\F07-SW-16B.DWG ...Exporting D:\Export\Temp\temp.mdb\F_FLOWCTLVALVE to CAD .....exporting to D:\Jimmy\F07-SW-16B.DWG ...Exporting D:\Export\Temp\temp.mdb\F_HYDRANT to CAD .....exporting to D:\Jimmy\F07-SW-16B.DWG ...Exporting D:\Export\Temp\temp.mdb\F_MANHOLE to CAD .....exporting to D:\Jimmy\F07-SW-16B.DWG ...Exporting D:\Export\Temp\temp.mdb\F_MANHOLE_PY to CAD .....exporting to D:\Jimmy\F07-SW-16B.DWG ...Exporting D:\Export\Temp\temp.mdb\F_METER to CAD .....exporting to D:\Jimmy\F07-SW-16B.DWG ...Exporting D:\Export\Temp\temp.mdb\F_MISC_PT to CAD .....exporting to D:\Jimmy\F07-SW-16B.DWG ...Exporting D:\Export\Temp\temp.mdb\F_MISCINSTALL_PY to CAD .....exporting to D:\Jimmy\F07-SW-16B.DWG ...Exporting D:\Export\Temp\temp.mdb\F_MSC_LN to CAD .....exporting to D:\Jimmy\F07-SW-16B.DWG ERROR 000508: Unable to create D:\Jimmy\F07-SW-16B.DWG: Failure During Save Failed to execute (ExportCAD). Failed at Thu Dec 2 10:09:03 2021 (Elapsed Time: 3.78 seconds) But after I ran the program repeatedly several times. DWG files can be exported without error. Anyone has ideas where the problem is?
... View more
12-01-2021
10:33 PM
|
0
|
0
|
412
|
POST
|
I have prepared a dwg file with pre-defined layers. Then I use the "Export to CAD" tool to convert a shapefile to DWG Some linetypes in pre-defined layers in output dwf become continuous lines. Anyone has ideas?
... View more
11-21-2021
11:21 PM
|
0
|
0
|
409
|
POST
|
I have just created an ArcGIS Pro project to show labels on map. Then I exported the map to a vtpk, but I found that some labels are missing in the vtpk. Anyone have ideas? Map Map vtpk vtpk
... View more
05-17-2021
06:12 AM
|
0
|
0
|
547
|
POST
|
Thanks for your help. I am looking for arcpy scripts to search point features snapped on line features. Do you any arcpy functions to do so?
... View more
06-08-2020
08:23 PM
|
0
|
2
|
1198
|
POST
|
Thanks to your help. But am I able to do the same things without geometric network? My company does not allow building network in geodatabase.
... View more
06-04-2020
09:42 PM
|
0
|
1
|
1197
|
POST
|
I have a line feature class of water mains and another point feature class of fire hydrants. The water mains are inter-connected and the fire hydrants are connected to the tips of the water mains. Now, I wants trace from a water mains feature to all connected fire hydrants. Are there any functions in arcpy allow me to do so?
... View more
06-03-2020
08:44 PM
|
0
|
7
|
1355
|
POST
|
I have tried to use IGxDialog to open shapefiles by the codes below: public static string getInputFile() { string filename; IEnumGxObject enumGxObj; IGxObject gxObj; IGxObjectFilterCollection gxFilterColl; IGxDialog gxDialog; IGxObjectFilter gxObjFilter; filename = ""; try { gxDialog = new GxDialog(); gxFilterColl = (IGxObjectFilterCollection)gxDialog; gxDialog.AllowMultiSelect = false; gxObjFilter = new GxFilterShapefiles(); //gxDialog.ObjectFilter = gxObjFilter; gxFilterColl.AddFilter(gxObjFilter, true); if (gxDialog.DoModalOpen(0, out enumGxObj)) { gxObj = enumGxObj.Next(); filename = gxObj.FullName; Logger.Debug("getInputFile filename = " + filename); } } catch (Exception ex) { Logger.Debug("getInputFile error: " + ex.Message); } return filename; } But when the GxDialog is opened, the shapefiles are not found. But the shapefiles are found in ArcCatalog Are there any problems on the codes? Thanks.
... View more
03-18-2020
06:44 AM
|
0
|
3
|
607
|
Title | Kudos | Posted |
---|---|---|
1 | 08-28-2023 01:16 AM | |
1 | 08-02-2023 11:50 PM | |
1 | 08-29-2022 02:31 AM | |
1 | 01-04-2018 07:22 PM | |
1 | 08-14-2018 11:54 PM |
Online Status |
Offline
|
Date Last Visited |
09-13-2023
09:41 AM
|