|
POST
|
Yes, I have tried .MakeValueArray too. I see some action on the screen (ie. a flicker) but still nothing happens. It is all in a Try-Catch, but no exceptions are thrown.
... View more
11-29-2018
06:06 AM
|
0
|
0
|
1899
|
|
POST
|
Hmmm.....ok. I have tried to order things using that window, but I just realized now how to actually do it. It's not very intuitive, but now that I think I have figured it out, it still isn't working. So on the left are my tools, and on the right is the toolbar. I have organized them as desired on the right, but after clicking on OK, my toolbar is totally messed up with tools not even showing up anymore. Each time I do it, I seem to get different results. Are you aware of any issues with doing this??
... View more
11-29-2018
06:04 AM
|
0
|
0
|
3588
|
|
POST
|
Also....do you know if there is a way for the end user to sort buttons on a ribbon?? With ArcMap this was possible by just dragging/dropping when in 'Customize' mode.
... View more
11-29-2018
05:39 AM
|
0
|
9
|
3588
|
|
POST
|
Hi Giantautas, I saw that thread yesterday, but the suggested .GPThread fix did not work for me. Still no errors, but nothing happens in the map. GPExecuteToolFlags flags = GPExecuteToolFlags.GPThread;
foreach (Layer layer in map.GetLayersAsFlattenedList().OfType<FeatureLayer>())
{
var gpresult = await Geoprocessing.ExecuteToolAsync("ApplySymbologyFromLayer_management", new string[] { layer.Name.ToString(), @"K:\DSM Shared\ArcMap Symbology\10.2 Schema\Editing Symbols\" + layer.Name.ToString() + ".lyr" }, null, null, flags);
} I've tried using .lyr and .lyrx files, but nothing seems to work. I've also tried the Python command line "ApplySymbologyFromLayer_management", but still no luck. When run from python I can see that the layer gets 'locked' in the TOC, but the symbology never actually changes. If you want me to try anything else, let me know. Is this a known issue??
... View more
11-29-2018
05:25 AM
|
0
|
4
|
1899
|
|
POST
|
Hi, I'm trying to get something similar to this to work, but cannot seem to get the code to work. Can you offer any advice?? My layer file is on a network drive, and I am trying to update a specific layer in my map: var gpresult = await Geoprocessing.ExecuteToolAsync("ApplySymbologyFromLayer_management", new string[] { "GISWRKS1.WORKS.WAT_Hydrant", @"K:\DSM Shared\ArcMap Symbology\TEST\Editing Symbols\GISWRKS1.WORKS.WAT_Hydrant.lyrx" }); I don't get any errors...it just doesn't do anything.
... View more
11-28-2018
11:25 AM
|
1
|
6
|
4548
|
|
POST
|
Hi, I'm trying to figure out how to update a layers symbology using an existing .lyr file. I can use the code below to add the layer file, but when I've already got the layer in my map all I really need to do is update the symbology. QueuedTask.Run(() =>
{
Uri myUri = new Uri(@"K:\DSM Shared\ArcMap Symbology\10.2 Schema\Editing Symbols\GISWRKS1.WORKS.WAT_Hydrant.lyr");
Layer newLayer = LayerFactory.Instance.CreateFeatureLayer(myUri, MapView.Active.Map, LayerPosition.AddToTop);
}
); Any guidance is appreciated. Thanks,
... View more
11-28-2018
08:36 AM
|
0
|
2
|
1910
|
|
POST
|
Hi, Just wondering what the best way would be to arrange tools on a Custom Ribbon. There doesn't seem to be a way for the end-user to do it through the ArcPro GUI, so does this have to be done through DAML code?? Here is what I currently have; one custom ribbon, divided into two groups. The first group (Map Tools) I'd like to arrange alphabetically in ASC order. The second group I would like to arrange in a specific order specified by the numbers in the pic. For either group, tools will be added going forward, so I'd like the first group to remain alphabetic and then be able to squeeze tools into the right place for the second group as I create them. I create each tool as a separate VS2015 project. The toolbar is it's own project. In each tool I create I have a DAML <dependancies> setup so that things get loaded onto the toolbar after the toolbar loads. <dependencies>
<dependency name="{9466cc69-3fce-4774-8134-d94377460abd}" />
<!-- id of "DSM_Toolbar_ArcPro" -->
</dependencies> Then I also have code to place each tool into the proper group. <updateModule refID="DSM_Toolbar_ArcPro_Module">
<groups>
<updateGroup refID="Editing_Tools_group">
<insertButton refID="ToFromTool_ArcPro_btnToFromTool"></insertButton>
</updateGroup>
</groups>
</updateModule> I'm stuck at trying to figure out how to get the buttons in the order I desire. Thanks,
... View more
11-28-2018
06:26 AM
|
0
|
12
|
4593
|
|
POST
|
Hi Rich, So it looks like that using DepotArea instead of DEPOTAREA is resolving the problem. I'm still not 100% sure why though and was hoping you can shed some light. Here are some details on my data: NAME ALIAS LOCALMUNICIPALITY LocalMunicipality GRIDNO GRIDNO SETTLEMENTAREA SettlementArea DEPOTAREA DepotArea In ArcObjects, using the highlighted names always worked, but in ArcPro they all worked except for DEPOTAREA. So I am using the Alias now, but in the documentation for the Inspector class it just says to use the 'Attribute Name'. Is it really case-sensitive?? http://pro.arcgis.com/en/pro-app/sdk/api-reference/#topic9684.html
... View more
11-08-2018
11:26 AM
|
0
|
4
|
1695
|
|
IDEA
|
Hi George, Thanks for that, but I am still having issues. The main issue is that I am just an 'end user' so I do not have access to Organizational downloads through My Esri. Also, from what I read, it looks like I would still need an authorization file in order to get things to work. Is there a way, for just a regular end-user, to use SQL Express to create/manage their own geodatabases??
... View more
11-02-2018
08:01 AM
|
0
|
1
|
3227
|
|
IDEA
|
Hi, No. Basically I already had ArcMap and ArcPro on my desktop. Then I heard that using SQL Express might work as an alternative for the PGDB, so I installed SQL Express from the Microsoft website. Now I want to use ArcMap (or ideally ArcPro) to create a Geodatabase on SQL Express. What is the screenshot you posted above from??
... View more
11-02-2018
05:53 AM
|
0
|
1
|
3227
|
|
IDEA
|
Yes, I've tried many different combinations but nothing works.... DWKTS159\sqlexpress DWKTS159\MSSQLLocalDB (LocalHost)\MSSQLLocalDB If I go to Add Database Connection, I can connect though, but that isn't what I want as it's not a spatial database.
... View more
11-01-2018
12:54 PM
|
0
|
1
|
2482
|
|
POST
|
OK, so I'm still working on getting that support ticket, but in the meantime I did more testing today, and the problem only seems to happen when that feature class has a Join, and only on the DEPOTAREA field. The other fields are updating fine, even when there is a join. There are no duplicate field names in the joined table either, so I'm not sure what the problem is. Anyways, I hope to have that ticket issued next week once our contact with esri is back in the office. If you can think of anything in the meantime, just let me know. Thanks
... View more
11-01-2018
12:47 PM
|
0
|
0
|
1695
|
|
IDEA
|
OK, I understand. But I cannot add a Database Server through ArcCatalog. In SQL SMS I can connect to it. Here are the details. Do I need to specify the server name differently in ArcCatlog??
... View more
11-01-2018
12:30 PM
|
0
|
1
|
2482
|
|
IDEA
|
Hi Robert, So I've been messing with this a little bit and still don't quite get it. I've got SQL Express installed, but can't seem to create a database unless I have an 'authorization file'....which I don't have. So are you saying that you are working on an update to ArcPro that will allow you to create a database without an authorization file??
... View more
11-01-2018
11:51 AM
|
0
|
1
|
2482
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 04-14-2026 08:54 AM | |
| 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 |
| Online Status |
Offline
|
| Date Last Visited |
04-14-2026
08:53 AM
|