POST
|
Thanks for your help. But the progress dialog can only the progress of one geooprocessing tool. Now I have to run many geoprocessing tools in the add-in. How the show the progress of the tools in one dialog?
... View more
08-13-2024
04:50 AM
|
0
|
0
|
190
|
POST
|
I have made a ArcGIS Pro add-in to run a series of geoprocessing tools and some data massaging by ArcGIS Pro SDK. Now I wants to show the progress message to a dialog similar to the one below, I have tried Geoprocessing.ShowMessageBox() but it can only show the messages after the geoprocessing tool is completed. Are there any ways to do so?
... View more
08-12-2024
05:15 AM
|
0
|
4
|
249
|
POST
|
I have a utility network in a file gdb. Now, I wants to search the pipelines connected to a junction. How I do so using ArcObjects? I have found the class "UtilityNetwork" but dont know how to use.
... View more
09-13-2023
03:21 AM
|
0
|
0
|
461
|
POST
|
I have a gdb hatch-style polygon class A and I am trying to convert A to dgn polygons. I have appended the fields "Layer", "CadType", "Color", "Linetype", "LineWt" to A and set to "AMFM2_B_DR_EXT", "Polygon", 42, "Varies Across", "Varies Across" respectively. Then I run the ExportCAD conversion tool but the converted dgn is just empty polygons rather than hatched. Anyone have ideas? Sample Sample DGN Output Output DGN
... View more
08-28-2023
01:16 AM
|
1
|
1
|
602
|
POST
|
I have a gdb annotation class A and I am trying to convert A to dgn annotation. I appended the fields "Layer", "FontId", "Text", "CadType", "TxtValue", "TxtFont" and "Height" to A and set to dgn layer name, 1, anno text string, "TEXT", anno text string, "Arial", "0.7345" respectively. Then I run the tool "ExportCAD_conversion" but failed, no annotation in dgn. Anyone have ideas?
... View more
08-27-2023
09:38 PM
|
0
|
0
|
502
|
POST
|
Thanks for your help, but I wants to convert the gdb to dgn rather than dwg. How can I apply the settings to DGN?
... View more
08-17-2023
03:24 AM
|
0
|
1
|
820
|
POST
|
I have a gdb with point feature class A and a dwg template B with block definition ST_MH_EXT and ST_MH_OTH. ST_MH_EXT is circle while ST_MH_OTH is square. I have added the fields "CadType" and "RefName" to A. Then I set the values of "CadType" to insert and "RefName" to "ST_MH_EXT" / "ST_MH_OTH" respectively. After I run the tool "ExportCAD_conversion", the shape of "ST_MH_EXT" in the result dwg is preserved but "ST_MH_OTH" becomes circle. I would like to ask whether the problem is?
... View more
08-02-2023
11:50 PM
|
1
|
3
|
875
|
POST
|
I have a point feature class A and a feature-linked annotation class B. Now, I wants to re-link some annotations in B to some other features in A. I have made a python script to update the field 'FeatureGlobalId' in B. The field 'FeatureGlobalId' is updated after running python but the linkage of annotations is broken. Anyone have ideas?
... View more
05-17-2023
07:37 PM
|
0
|
1
|
348
|
POST
|
Many thx, but my annotation program is a standalone program rather than ArcGIS Pro add-in. How can I add the EditorOperation and inspector objects to my program? Besides, how can I implement desktop objects e.g. inspector, CurrentTemplate in standalone program?
... View more
04-17-2023
08:10 PM
|
0
|
1
|
675
|
POST
|
I have a point feature class A in file gdb and then I created a feature-linked annotation class B. Then I have made a SDK program to create annotation on B, the program work fine on file gdb. But I copied both A & B to geodatabase on SQL Server, the program failed, 'Objects in this object class cannot be updated outside of an edit session.' is shown. I found that the error occurred on the code below: RowBuffer annoBuf = annoFC.CreateRowBuffer(); Feature anFt = annoFC.CreateRow(annoBuf); AnnotationFeature annoFt = (AnnotationFeature)anFt; Do anyone have ideas?
... View more
04-17-2023
12:20 AM
|
0
|
3
|
826
|
POST
|
I have a utility network A and a tile polygon feature class B. Now I want to export part of utility network A within a tile polygon in B. How can I do so using ArcGIS Pro SDK?
... View more
03-27-2023
03:24 AM
|
0
|
0
|
378
|
POST
|
I have a pipeline feature class (line) and a pumping station feature class (polygon). Now, I wants to retrieve the endpoints of pipelines (green points) inside pumping stations. I have used the "Intersect" geoprocessing tool but it only retrieves the intersections of pipelines and pumping stations (grey points). How can I do so by arcPy?
... View more
03-01-2023
11:22 PM
|
0
|
3
|
977
|
POST
|
I have a junction feature class A, a feature-linked annotation B and a leader line feature class C. Now, I have implemented a attribute rule on B to auto-create leader line on C but failed. "Failed to create Connection......" is prompted after creating new point. Below is the code of attribute rule: var anno_geom = Geometry($feature) var parent_gid = $feature.FeatureGlobalID var anno_gid = $feature.GlobalID if (IsEmpty(parent_gid)) return parent_gid parent_gid = Upper(parent_gid) anno_gid = Upper(anno_gid) var parent_fc = FeatureSetByName($datastore, "A",["GLOBALID","PS"],false) var line_fc = FeatureSetByName($datastore, "C",["GLOBALID","ANNOGLOBALID","PS"],false) var parent_rec = Filter(parent_fc, "GLOBALID = @parent_gid") var line_rec = Filter(line_fc, "ANNOGLOBALID = @anno_gid") var parent = First(parent_rec) var parent_geom = Geometry(parent) if (IsEmpty(parent_geom)) return null var parent_ps = parent.PS var parent_ext = Extent(parent_geom) var anno_ext = Extent(anno_geom) var endX = anno_ext['xMin'] var endY = anno_ext['yMin'] var startx = parent_ext['xMax'] var starty = parent_ext['yMax'] var maxLength = 1; console(startx) console(starty) var leaderline = Polyline({ paths:[ [ [startX,startY,0], [endX, endY,0] ] ], hasZ: true, "spatialReference": Geometry($feature)["spatialReference"] }) var att = { "PS": parent_ps } var line = First(line_rec) if (IsEmpty(line)) { return { "result":{ "geometry":anno_geom, "attributes": att }, "edit": [{ "className": "C", "adds": [{ "attributes": { "AnnoGlobalID": anno_gid, "PS": parent_ps }, "geometry": leaderline }] }] } } else { var linegid = line.GlobalID return { "result":{ "geometry":anno_geom, "attributes": att }, "edit": [{ "className": "C", "updates": [{ "globalID": linegid, "attributes": { "AnnoGlobalID": anno_gid, "PS": parent_ps }, "geometry": leaderline }] }] } }
... View more
01-31-2023
02:15 AM
|
0
|
0
|
399
|
Title | Kudos | Posted |
---|---|---|
1 | 12-01-2021 10:33 PM | |
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 |
Online Status |
Offline
|
Date Last Visited |
08-15-2024
08:49 AM
|