|
POST
|
Pro 1.2 Even in a 3D scene, Z Mode Surface is disabled. What I'm really looking for is a bulk elevation lookup, like geocoding for elevation.
... View more
07-05-2016
01:24 PM
|
0
|
4
|
3227
|
|
POST
|
Sean Jones can the default "Ground" surface be used as the Z source for creating sketch features? For me, Z Mode surface is disabled.
... View more
07-05-2016
11:41 AM
|
0
|
0
|
3227
|
|
POST
|
Charles Macleod is there a way to interrogate Pro's default surface with an x, y to get an elevation?
... View more
07-05-2016
07:58 AM
|
0
|
0
|
3227
|
|
POST
|
Revisiting this. The fields view contains properties to control the way fields appear in the project without altering underlying data. To change the field rounding, open the fields view, then double-click on the number format for the field you want to change. This exposes an ellipsis which will take to the number format dialog box. The documentation leaves out the double-clicking part - not intuitive. After that the data in the table, the attributes window, labeling will honor the number format. One thing I discovered is that the default number format does not get used until you change it to something else and save it. I had fields that were displaying with 0 decimal places, even though when I went into the number format dialog it was set to 3 by default. If I changed it to something else, saved it, then changed it back to 3 and saved it, only then did I see the data with 3 decimal places.
... View more
07-05-2016
06:15 AM
|
0
|
0
|
1454
|
|
IDEA
|
It's useful in a pinch but no substitute for good database design.
... View more
06-23-2016
01:39 PM
|
2
|
1
|
2577
|
|
POST
|
Answered my own question! You have to create a button that launches the property page in its OnClick event. Then reference that button's ID in the launcherButtonID of the group in which you want the dialog launcher to appear. If you don't want a whole other button just for that, then simply remove it from any group. I added a custom page to the project options property sheet like this: <propertySheets> <updateSheet refID="esri_core_optionsPropertySheet"> <insertPage id="myCustomPage" caption="My Custom Settings" className="MyCustomPageViewModel" group="Project"> <content className="MyCustomPageView" /> </insertPage> </updateSheet> </propertySheets> In the button's OnClick: ArcGIS.Desktop.Framework.PropertySheet.ShowDialog("esri_core_optionsPropertySheet", "myCustomPage") Now my dialog launcher mini-icon launches my custom properties page, or users can get to it via the back stage. Looks just like the out of the box tabs.
... View more
06-22-2016
01:35 PM
|
1
|
1
|
2270
|
|
POST
|
I have a custom property page that I added to the esri_core_optionsPropertySheet property sheet. I use this to save custom project settings. I found the dialog launcher buttons (described here) and I see that you can use DAML ID's for predefined options buttons like esri_core_showOptionsSheetButton but I can't figure out how to launch the options sheet with my custom page selected.
... View more
06-22-2016
01:06 PM
|
2
|
2
|
3469
|
|
IDEA
|
You can do it if you use SQL Server. There a setting in SSMS Tools, Options, Designers called "Prevent saving changes that require table re-creation". It's checked on by default. If you check it off, you can safely drag and reposition fields in the table designer. I can vouch for unversioned enterprise gdb feature classes and tables in SQL Server.
... View more
06-22-2016
11:57 AM
|
2
|
3
|
2253
|
|
POST
|
I'm looking for a way for a Pro project to "remember" certain settings, such as what value was selected from a ComboBox. Does a project have local storage to save and retrieve custom configuration settings?
... View more
06-15-2016
07:37 AM
|
0
|
1
|
2667
|
|
POST
|
I have tools with conditions that have several states that determine if the tool is enabled or disabled. If the tool is disabled, I would like to be able to use the DisabledText property to inform the user which state(s) are causing the tool to be disabled so they know what to do to enable it. But I can't find an event that occurs when the MapTool becomes disabled. Is this possible?
... View more
04-28-2016
05:58 AM
|
0
|
1
|
4033
|
|
POST
|
Sean Jones Thank you, that is exactly what I was looking for. You wouldn't believe the path I was going down. I had a button that activated the layer's edit template, so the users could make their sketch and listened for OnRowCreated. Then I validated the feature and if it failed (using the sketch geometry, if it didn't connect to the right things) I used args.Row.delete to prevent the feature from getting saved. That was working, until I needed to use the sketch geometry to create features in other layers as well. Then I started the RowBuffer, Row, Store pattern. Way too granular. EditOperation.Create with a layer and a dictionary is much more concise. And I like that you can Execute or ExecuteAsync. For just adding a single simple feature to a layer in the map it doesn't seem worth the async plumbing. I'm glad you're continuing to work on the documentation. Often what I want is in the API reference, but I don't know where. The concepts doc should tell you what pattern you should be using and guide you to the API reference for the syntax to implement that pattern. Not a big fan of the GitHub wiki. I wish the Pro SDK docs were more like this: ArcGIS API for JavaScript or this:What is ArcPy?—Help | ArcGIS for Desktop And more VB code samples please!
... View more
04-27-2016
11:45 AM
|
0
|
1
|
2332
|
|
POST
|
Thanks Sean Jones. So a sketch tool is just a modified map tool. That's exactly what I was looking for. My next step is to use the geometry to do some validation and create new features in 2 feature classes. I am using the CreateRowBuffer, CreateRow, Store pattern and although it works, I can't figure out how to refresh the map. I found the IEditContext.Invalidate in the ProConcepts editing page. Looks like I shouold be wrapping my edits in an edit operation, but having trouble figuring how to implement this in VB. In that example (ProConcepts Editing · Esri/arcgis-pro-sdk Wiki · GitHub ) how do you pass the callback function arguments?
... View more
04-26-2016
01:43 PM
|
0
|
3
|
2332
|
|
POST
|
I want to create a tool that the user uses like an edit template's sketch tool. I want to get geometry from the user that is not tied to a particular layer, just want the user to digitize a geometry using their snapping environment. When they're done I want to use that geometry and do some things with it. Is there an existing sketch tool that I can inherit from in my tool class or something?
... View more
04-26-2016
07:05 AM
|
0
|
5
|
6227
|
|
POST
|
Nice job on the video, well explained. Still, it feels like a "workaround" because the user has to type in the ID for the separate query. We always have to wait for related table support to be a natural out-of-the-box feature.
... View more
04-21-2016
06:39 AM
|
3
|
3
|
8067
|
|
POST
|
Dan Patterson Yes, I would like to change the number of decimals just for viewing purposes. Here is an example - the table shows the actual data to the tenth (1.5, 8.5, 10) but the attribute window for the selected row shows rounded data (2, 9, 10). I'm looking for a setting to control the rounding in the Attribute window. In the documentation you referenced above it says you can "click the ellipsis to open the Number Format dialog" but I cannot find the ellipsis they are referring to.
... View more
04-12-2016
05:02 AM
|
0
|
1
|
1454
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 06-22-2016 01:35 PM | |
| 1 | 11-08-2019 01:56 PM | |
| 1 | 05-09-2023 05:58 AM | |
| 1 | 08-11-2021 05:45 AM | |
| 2 | 08-03-2017 07:40 AM |
| Online Status |
Offline
|
| Date Last Visited |
02-26-2024
06:48 PM
|