POST
|
Thanks. The magic bullet for me was the need for the framework dispatcher property. This is what i was needing for future people in the same spot. var dlg = new OpenItemDialog(); dlg.Title = "Select DEM Raster"; FrameworkApplication.Current.Dispatcher.Invoke(() => { var result = dlg.ShowDialog(); if (!dlg.ShowDialog().Value) return; var SelFile = dlg.Items.First(); ///Verify expected outcome /// MessageBox.Show($@"Path: {SelFile.Path}"); FPath = SelFile.Path; FileName = System.IO.Path.GetFileName(SelFile.Path); txtDEM.Text = FileName; });
... View more
08-20-2020
08:00 AM
|
0
|
0
|
771
|
POST
|
I am writing an add in that requires the input of several shapefiles and rasters. Unfortunately, the 'normal' open file dialog does not appropriately 'see' these file types. I need to be able to get file paths of these files without knowing the path before hand. Looking at the api reference this set of classes appear to be what i need. However, i am extremely new to programing in c# and am unsure how to achieve this. I have gotten as far as when button is clicked do a process##.
... View more
08-12-2020
07:38 AM
|
0
|
2
|
849
|
POST
|
I honestly wasn't aware there were many significant differences in the model-builder portion of the software pieces. Python version was updated in pro and VB being depreciated for the calculate field tool were the ones of note for me. I was building the model in ArcMap because i was much more familiar with where everything was located and because i was under the apparently mistaken impression that they were nearly identical. This ESRI migration webpage led me to that conclusion. Ultimately it will end up in ArcPro though , so you answered my question. Thank you.
... View more
05-06-2020
10:45 AM
|
1
|
0
|
287
|
POST
|
I am building a program in modelbuilder that has a number of basic data sets. I want to give the user the opportunity to essentially patch the default data sets if they have more accurate/recent info. Attached is a example but not necessarily a requirement for how I'd like it to present the new pop-up. Ideally that attached interface would open as a popup after selecting "i want to update the supplied data". I can do it the hard way and just put a separate input for each. However, I'd like to know if and how to do it the more user friendly way if it is actually possible.
... View more
04-30-2020
03:16 PM
|
0
|
2
|
336
|
Title | Kudos | Posted |
---|---|---|
1 | 05-06-2020 10:45 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:25 AM
|