|
POST
|
This is not happening for me. Regardless what I do, table 1 for me always stays selected and is never reverted to an state other than what I leave it at. I am using Pro 2.9.
... View more
06-08-2023
08:08 AM
|
0
|
0
|
1113
|
|
POST
|
Strange....mine seems to be working fine. I am using Pro v2.9....what version is yours??
... View more
06-08-2023
07:04 AM
|
0
|
1
|
1163
|
|
POST
|
Hi....just wondering if there is a fix for this yet in 3.0.....or even in 3.1?? I only have access to 3.0 currently. I am converting another tool from 2.9 to 3.0, but having issues with the EditOperation working, again using the .Modify: await QueuedTask.Run(() =>
{
Map map = MapView.Active.Map;
//Create the MAIN edit operation....this will show up on the Undo Stack
var editOperation = new ArcGIS.Desktop.Editing.EditOperation();
editOperation.Name = "Multi-Layer Attribute Update Tool";
editOperation.EditOperationType = ArcGIS.Desktop.Editing.EditOperationType.Long;
var inspector = new ArcGIS.Desktop.Editing.Attributes.Inspector();
//Go through each layer in the Layers listbox
foreach (string layer in lstLayers.Items)
{
var currentLayer = map.FindLayers(layer).FirstOrDefault() as BasicFeatureLayer;
var selection = currentLayer.GetSelection();
IReadOnlyList<long> selectedOIDs = selection.GetObjectIDs();
inspector.Clear();
inspector.Load(currentLayer, selectedOIDs);
foreach (var finalListRow in finalList)
{
if (finalListRow.FieldValue != null)
inspector[finalListRow.FieldName.ToString()] = finalListRow.FieldValue.ToString();
}
editOperation.Modify(inspector);
}
//Finished the layer loop....commit all the edits
if (!editOperation.IsEmpty)
{
bool result = editOperation.Execute();
if (!result)
MessageBox.Show("ERROR");
}
}); //end of QueuedTask Thanks,
... View more
06-02-2023
10:45 AM
|
0
|
1
|
1974
|
|
POST
|
Ah yes....now I am remembering that when I take these projects that I am migrating from 2.9 to 3.0, that I also need to update some code here and there....and the Process.Start is definitely one of those sections. I totally forgot about that, so thanks for the heads up!
... View more
06-01-2023
04:12 PM
|
0
|
0
|
1842
|
|
POST
|
Hi @Wolf , So this is strange, and only started happening after implementing the Pro WebViewer. In my AddIn, the user can choose to open the Uri that gets generated in a it's own web browser or directly in a dockpane (using the Pro WebViewer....which is working great). But now that I have replaced the old Web Control I was using with the Pro WebViewer, when I try to open the same Uri in the system default web browser I get an error. Do you think there is a connection to the new Pro WebViewer causing a conflict in the background?? This is the line that I get the error on: System.Diagnostics.Process.Start(streetViewLink); And here is the error....can't find the file specified??? I've never had issues with this until I replaced the old Web Control with this new Pro WebViewer control. Here is the code. if (Properties.Settings.Default.svBrowserSetting == true)
{
//*****Use this code if you want to open the separate web browser
string streetViewLink = @"https://www.google.com/maps/@?api=1&map_action=pano&viewpoint=" + lat + "," + lng + "&Heading=";
System.Diagnostics.Process.Start(streetViewLink); //opens the webbrowser
}
else
{
//Open the dockpane if it isn't already open
DockPane pane = FrameworkApplication.DockPaneManager.Find("StreetView_ArcPro_Dockpane");
pane.Activate();
//Access the web control through the View
DockpaneView myView = DockpaneView.MyDockpaneView;
Uri googleUri = new Uri(@"https://www.google.com/maps/@?api=1&map_action=pano&viewpoint=" + lat + "," + lng + "&Heading=");
myView.webViewControl.Source = googleUri;
}
... View more
06-01-2023
11:38 AM
|
0
|
0
|
1848
|
|
POST
|
It really depends on how you are doing it, but you can use a dictionary to make the final field/fields update: https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/overview/attribute-rule-dictionary-keywords.htm So something like this: //first get the intersecting grid
var gridNo = FeatureSetByName($datastore, "LAND_Grid", ["GRIDNO"], false);
var intersectingGrid = first(intersects(gridNo, $feature));
var seqNo = NextSequenceValue("SeqManholes");
var depotArea = FeatureSetByName($datastore, "LAND_DepotArea", ["DEPOTAREA"], false);
var intersectingDepot = first(intersects(depotArea, $feature));
return{
"result" : {
"attributes" : {
"FACILITYID" : "MH-" + intersectingGrid.GRIDNO + "-" + seqNo,
"DEPOTAREA" : intersectingDepot.DEPOTAREA,
}
}
}
... View more
05-29-2023
05:48 AM
|
1
|
1
|
1386
|
|
POST
|
Hi, I've added the Nuget for the most recent WebView2 control into my solutions, I add it to a ProDockpane, give it a source yet whenever I open the dockpane in ArcPro, the WebView control is always blank. Any ideas as to where I might be going wrong? <wv2:WebView2 Name="webView" Source="https://www.microsoft.com" />
... View more
05-26-2023
08:53 AM
|
0
|
5
|
1952
|
|
POST
|
I would say "Yes", but depending on what you are doing will determine the best way to do it. For me, I have the rule on the point feature, and I take an attribute from the intersecting feature (a polygon) and get the attribute value from the polygon this way.....then just add it to the point. var depotArea = FeatureSetByName($datastore, "LAND_DepotArea", ["DEPOTAREA"], false);
var intersectingDepot = first(intersects(depotArea, $feature)); This will add the value of the depotArea field to the feature. This triggers when the feature is created.
... View more
05-25-2023
11:36 AM
|
1
|
1
|
1481
|
|
POST
|
Hi. The folks at esri Canada who set us up with Site Scan have talked to me, and suggested using GCPs and flying only with the camera pointed straight down (nadir), would be the recommended practice. I currently have no access to any equipment for GCPs, so that is something we are looking in to. As for nadir, I have always done my manual flights with some sort of oblique angle....like 30 to 45 degrees. I've never done it just stright down, so I'll be interested to see what sort of difference that makes. Even when you do the Cross Hatch in SiteScan, the default is an oblique angle. Once I get the GCP issue sorted out, I'll try things again.
... View more
05-23-2023
08:56 AM
|
0
|
0
|
1450
|
|
POST
|
Hi. Looking at the mesh that is generated for both, the Z values at a given location are different, but the difference between what is (more or less) the 'base' of the pile and the peak of the pile are pretty much the same....about a 5.6m difference in both cases. So I guess the differnce in volume calculations would be more related to the detail in the manual flight as opposed to the hatch flight?? With the manual flight, I took 72 pictures distributed like so....always pointed at the pile with varying camera angles. And with the hatch flight, the software took 321 photos over the entire site, but how many of those were focused on the pile could take some time to figure out.
... View more
05-18-2023
10:22 AM
|
0
|
1
|
1490
|
|
POST
|
Hi, So typically I fly manually and take pictures at all sort of different angles, distances, etc. for calculating volume on gravel and asphalt that we stockpile. I thought I'd compare the same pile using a crosshatch survey and the results were quite different. Are there any adjustments to the settings in Site Scan I should use for attaining more accuracy? Using crosshatch would definitely save time on these larger sites with multiple piles to drone. Here is what I got via Crosshatch: And here is what I get flying the drone using a "Point of Interest" pattern in DJI Go 4, combined with manually flying some pattern over it as well. Over 150 cubic meters difference is signifigant for what is a fairly small pile.
... View more
05-16-2023
08:39 AM
|
0
|
5
|
1526
|
|
POST
|
I could be wrong, but I think the "Calculated value" code only runs when the form first opens. So at the time the code is looking at the field in the related table, it is probably an empty field....correct?? You could try setting a default value for that field, and then see if your code works to at least start figuring out what is happening.
... View more
05-08-2023
07:46 AM
|
0
|
2
|
901
|
|
POST
|
Hi, Here are the photos. I still need to go back to this site as I need to finish it completely, fly it higher, and on a cloudy day. These are the lower, sunny day images.
... View more
05-03-2023
12:30 PM
|
0
|
1
|
1764
|
|
POST
|
Hi @NicoBonnafoux . I just reprocessed the above using the Reality Engine, but I would say things did not improve. Is there a particular setting I need to adjust in Site Scan??
... View more
05-03-2023
12:16 PM
|
0
|
1
|
1769
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | 08-18-2023 08:57 AM | |
| 1 | 04-19-2018 05:53 AM | |
| 1 | 04-13-2018 10:07 AM | |
| 1 | 04-13-2018 10:04 AM | |
| 1 | 04-13-2018 05:56 AM |
| Online Status |
Offline
|
| Date Last Visited |
02-20-2025
03:53 PM
|