POST
|
Hi Wolf, have you ever seen this error before? (My code below) Dim cmdOpenAttributeTable As ICommand = FrameworkApplication.GetPlugInWrapper("esri_editing_table_openTablePaneButton") If cmdOpenAttributeTable IsNot Nothing Then If (cmdOpenAttributeTable.CanExecute(Nothing)) Then cmdOpenAttributeTable.Execute(Nothing) End If End If This error appears after opening the attribute table before the data has loaded. Is it a bug? I have read that it could be down to screen resolution but struggling to resolve.
... View more
07-21-2017
02:27 AM
|
0
|
2
|
715
|
POST
|
Thanks Wolfgang, I seem to have the strangest error when running this, the attribute table opens up but then get an exception related to the width of the window and it all crashes out before the data within the window completely opens. I am going to wait until I am back in work tomorrow to try again before I completely go nuts. So I almost got there. Thank you very much for pointing out the DAMLs - I have now found the reference page. vb version: Try Dim cmdOpenAttributeTable As ICommand = FrameworkApplication.GetPlugInWrapper("esri_editing_table_openTablePaneButton") cmdOpenAttributeTable.Execute(Nothing) Catch MessageBox.Show("Error Opening Attribute Table") End Try
... View more
07-19-2017
02:54 PM
|
0
|
0
|
715
|
POST
|
Is there any easy way to show the attribute table when clicking a button for a specific table? I know which layer I want the attribute table to show for. I basically want to replicate, the right click and "Show Attribute Table" function and it is already open within my map. TIA
... View more
07-18-2017
06:55 AM
|
0
|
6
|
715
|
POST
|
Solved it. it was all about the QueuedTask.Run and when to use it. Dim map As Map = MapView.Active.Map QueuedTask.Run( Sub() Dim shelterslyr As Layer = LayerFactory.Instance.CreateLayer(New Uri("http://sampleserver6.arcgisonline.com/arcgis/rest/services/NapervilleShelters/FeatureServer/0"), map) End Sub) A working vb example for a change
... View more
07-12-2017
08:16 AM
|
2
|
0
|
335
|
POST
|
Afternoon everyone, I was wondering if anyone has any vb.net examples of adding layers to a ArcGIS Pro Map that they could share. I need to add layers, but its not just as simple as adding from a file. However if anyone has any examples of the following for Pro I would be really grateful as it will help me debug. I haven't programmed using Async before so if anyone could share: adding a layer from a flat file adding a layer from a spatial SQL database adding a layer when the name changes dynamically based on a user selection in a UI that would be great. I keep getting a method wrong and I am trying to work out which one. TIA S*
... View more
07-11-2017
09:09 AM
|
0
|
1
|
631
|
Title | Kudos | Posted |
---|---|---|
2 | 07-12-2017 08:16 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|