POST
|
Were you able to utilize this to use more than 2 data sources? Right now it is only letting me select 2.
... View more
05-09-2023
04:42 PM
|
0
|
0
|
2819
|
POST
|
I'm very new to creating the executable. Can you explain how something like your sample project can be used to run other functions utilizing the pro sdk dependencies. I have some functions I have created as an add-in, but I want to run outside of PRO using an exe. Is this possible?
... View more
02-09-2022
10:13 AM
|
0
|
0
|
1850
|
POST
|
I'll have to go look at some of my code, but I think I did something on a graphic layer by creating an empty layer and cloning graphics layer to it and labeling. basically i had something similar but need to look at it to let you know.
... View more
09-20-2021
04:09 PM
|
0
|
0
|
1439
|
POST
|
Well I actually figured this out today. I'm shocked honestly. I might be doing something slightly different than you guys, but I was simply trying to return the x,y of point along the route at a specific distance(measurement). QueryFilter qF = new QueryFilter
{
WhereClause = "RouteNumber = '504'"
};
nLayer.Select(qF);
var featci = nLayer.GetSelection();
using (ArcGIS.Core.Data.RowCursor rCursor = featci.Search())
{
while (rCursor.MoveNext())
{
Feature gsFeature = rCursor.Current as Feature;
var feat = gsFeature.GetShape();
var efeat = feat.ToEsriShape();
Polyline polyline = PolylineBuilder.FromEsriShape(efeat);
double m1, m2;
ArcGIS.Core.Geometry.Multipoint multipoint = GeometryEngine.Instance.GetPointsAtM(polyline, .4, 0);
var mpc = multipoint.PointCount.ToString();
System.Windows.MessageBox.Show(mpc);
System.Windows.MessageBox.Show(multipoint.Points[0].X.ToString());
System.Windows.MessageBox.Show(multipoint.Points[0].Y.ToString());
}
}
});
... View more
09-20-2021
03:45 PM
|
0
|
0
|
955
|
POST
|
Does anybody have an actual solution for this @RussBurman @MarvisKisakye1 ?
... View more
09-20-2021
12:47 PM
|
0
|
1
|
960
|
POST
|
You can accomplish this using Arcade. var tempArcade2 = "$feature."+field1TextLB;//Website";
var tempClass2 = new LabelClass({
labelExpressionInfo: {
expression: tempArcade2
},
labelPlacement: placementLB,
minScale: MinScaleB,
maxScale: MaxScaleB
});
tempClass2.symbol = textSymB;
tempClass2.PoS = "S";
this.sLayer.setLabelingInfo([tempClass,tempClass2]
... View more
09-02-2021
09:08 AM
|
0
|
2
|
1486
|
POST
|
I ran this, but found it doesn't add the utilities also. Anyway I can get those? @KenBuja @CharlesMacleod
... View more
05-24-2021
09:00 AM
|
0
|
1
|
3650
|
POST
|
How do I install an old version of ArcGIS Pro SDK. I previously set the SDK settings to not auto update, but this seems to have been changed recently. My version updated to 2.8 which is causing issues. I simply want to install 2.7. How do I do this?? This should not be hard to do.
... View more
05-24-2021
08:33 AM
|
0
|
7
|
3658
|
POST
|
I am adding a text element via sdk on the LayoutAdded event. If I move that text element on my layout it shows twice when I export the layout. It shows both where I originally set the element programmatically and it shows in the location I moved it to. I can't get rid of the original element graphic no matter what I do. If I remove the text element it still shows when I export the layout. This is the code I use below, the "LayoutAddedEvent.Subscribe" is located in the initialize function of an add-in. LayoutAddedEvent.Subscribe(OnLayoutAdded, true);
private async void OnLayoutAdded(LayoutAddedEventArgs obj)
{
var lyt = obj.Layout;
String Disclaimer2 = "This is a disclaimer.";
await QueuedTask.Run(() =>
{
Coordinate2D titleTxt_ll = new Coordinate2D(0, 0);
CIMTextSymbol arial36bold = SymbolFactory.Instance.ConstructTextSymbol(ColorFactory.Instance.BlackRGB, 8, "Arial", "Bold");
GraphicElement titleTxtElm = LayoutElementFactory.Instance.CreatePointTextGraphicElement(obj.Layout, titleTxt_ll, Disclaimer2, arial36bold);
titleTxtElm.SetName("Disclaimer");
//titleTxtElm.SetLocked(true);
});
} This is where the element originally is In the next image I have added a mapframe and moved the text element. This is what happens when I then export the layout. Next I completely removed the text element from the layout using the TOC and this is what happened. . I believe this is a bug. Any insights or solutions on this would be appreciated, thanks.
... View more
04-29-2021
02:06 PM
|
0
|
0
|
532
|
POST
|
If I have a proWindow in my add-in how can I cause that prowindow to initialize when the add-in is loaded? right now it only happens ona click of the button.
... View more
04-21-2021
09:31 AM
|
0
|
0
|
1261
|
POST
|
How do you actually reference the combobox in module1? Can you provide an example. I am trying to do the same only with a prowindow.
... View more
04-21-2021
09:27 AM
|
0
|
0
|
1194
|
POST
|
@UmaHarano Do you have to create a drawn polygon for this to work? Is there anyway to just add it automatically without the sketch part?
... View more
04-02-2021
08:44 AM
|
0
|
0
|
2209
|
POST
|
Is this also applicable in python/arcpy? I haven't been able to find anything detailing it.
... View more
03-16-2021
03:27 PM
|
0
|
0
|
2088
|
POST
|
@CharlesMacleod has this functionality been enabled?
... View more
03-16-2021
11:00 AM
|
0
|
0
|
2092
|
POST
|
If you have a geoprocessing service you should be able to pass whatever layers you want. Actually now that I think of it I am using a lyerfile or layer that is added to my mxd to do the operation with the geoprocessing tool. Make sense? So for this I use either the extent(boundary box) to identify which features to export to kmz or I use a list of specific features. Using my layer I do a selection and export to kmz from that.
... View more
08-27-2020
04:35 PM
|
0
|
1
|
3735
|
Title | Kudos | Posted |
---|---|---|
1 | 12-26-2018 10:22 AM | |
1 | 08-16-2018 08:51 AM | |
1 | 04-19-2018 02:22 PM | |
1 | 02-12-2019 10:47 AM | |
1 | 12-11-2018 10:00 AM |
Online Status |
Offline
|
Date Last Visited |
09-13-2023
07:38 PM
|