|
POST
|
contextually, assuming it is the active layout u are after, you can retrieve that from LayoutView.Active. The active layout view provides access to the layout it is rendering via layoutView.Layout. Note also, in MVVM, your code should really be in the view model (not the view). Thus, u typically dont need access to the view model in the view (via its data context). In your case, the view model is identified by the className attribute on the "insertPage" tag. Some (hopefully) useful references: https://github.com/esri/arcgis-pro-sdk/wiki/ProGuide-Custom-settings ArcGIS Pro SDK for .NET: Advanced Pro Customization with Focus on Categories and Custom Settings
... View more
06-15-2021
10:27 AM
|
0
|
0
|
2404
|
|
POST
|
Rich's question notwithstanding and assuming it is the names of the datasets within a gdb u are after, this snippet might help: https://github.com/esri/arcgis-pro-sdk/wiki/ProSnippets-Geodatabase#obtaining-list-of-defintions-from-geodatabase note the line in question: Call "GetName()" on each definition to get the dataset name. IReadOnlyList<FeatureDatasetDefinition> featureDatasetDefinitions = geodatabase.GetDefinitions<FeatureDatasetDefinition>();
... View more
06-15-2021
10:11 AM
|
0
|
0
|
2501
|
|
POST
|
yes, u are right. thanks for this requirement. we will add this to the public api meanwhile, u can delete ground after the scene has been created using map.GetGroundElevationSurface() followed by map.RemoveElevationSurface(ground)
... View more
06-15-2021
10:03 AM
|
0
|
0
|
2150
|
|
POST
|
you will need to profile it. Note: we do talk about consolidating QueuedTasks here:https://github.com/esri/arcgis-pro-sdk/wiki/ProConcepts-Asynchronous-Programming-in-ArcGIS-Pro#using-queuedtask u may also find this helpful from the same article: https://github.com/esri/arcgis-pro-sdk/wiki/ProConcepts-Asynchronous-Programming-in-ArcGIS-Pro#developing-custom-methods
... View more
06-14-2021
04:38 PM
|
1
|
0
|
1620
|
|
POST
|
Thank you for the requirement. We will add this at 2.9
... View more
06-02-2021
05:08 PM
|
0
|
0
|
2495
|
|
POST
|
Hi Tom, this is not currently possible in the API. Can I ask what are your requirements/needs?
... View more
06-02-2021
09:35 AM
|
0
|
2
|
2508
|
|
POST
|
you could probably make one. Something like.... <dependencies> <dependency name="Editing.daml" /> </dependencies> <conditions> <insertCondition id="my_AnnoSketch_condition"> <state id="esri_editing_annoSketching"/><!-- this state is defined in Editing.daml --> </insertCondition>
... View more
05-27-2021
09:36 AM
|
0
|
0
|
1047
|
|
POST
|
uninstall your current copy. Extensions->Manage Extensions->Installed. Click on the Uninstall button for the ArcGIS Pro SDK for .NET extension. Close and reopen VS and SDK will uninstall. Then go here: https://github.com/Esri/arcgis-pro-sdk/releases download version 2.7 and install (proapp-sdk-templates.vsix)
... View more
05-24-2021
08:58 AM
|
4
|
0
|
7075
|
|
POST
|
This can only be done via Arcpy. Corehost supports access to GDB and Geometry only.
... View more
05-18-2021
08:01 AM
|
1
|
0
|
1702
|
|
POST
|
I think this might be related to this problem: https://support.esri.com/en/Technical-Article/000025544 can u check your build setting and make sure it is x64 (and not AnyCPU)
... View more
05-18-2021
07:59 AM
|
1
|
0
|
1771
|
|
POST
|
try <updateMenu refID="esri_mapping_unregisteredLayerContextMenu">
... View more
04-28-2021
06:56 AM
|
2
|
1
|
1915
|
|
POST
|
We can expose a “go to record id” method on the ITablePane for navigation purposes for 2.9 so you do not have to execute the esri_editing_tableGoTo command. So hopefully that improves that workflow. However, we do not want to expose a "get row id for object id" because requesting a row id for a feature that hasnt been cached could trigger a full table scan which wld impact the table view performance (depending on the size of the dataset and whether it is feature service, enterprise, file, etc.) Instead, we can expose a “get a record for object id” on the Table _control_ for 2.9. This will give u the designated row index for a feature object id. If the row index has not already been cached then the control will do a sequential scan through the dataset to retrieve/compute it.
... View more
04-28-2021
06:46 AM
|
1
|
1
|
2481
|
|
POST
|
you would need to explicitly create one (or the user could add one via the UI). To add a GraphicsLayer to the map, see here: https://github.com/Esri/arcgis-pro-sdk/wiki/ProSnippets-GraphicsLayers#create-graphicslayer More details on GraphicsLayer can also be found here: https://github.com/Esri/arcgis-pro-sdk/wiki/ProConcepts-GraphicsLayers
... View more
04-23-2021
11:51 AM
|
1
|
0
|
3715
|
|
POST
|
this is a default portal admin setting. it can only be decreased. 2 weeks is the max. https://enterprise.arcgis.com/en/portal/latest/administer/windows/specify-the-default-token-expiration-time.htm
... View more
04-21-2021
10:16 AM
|
0
|
0
|
1639
|
|
POST
|
GraphicsLayer has a reference scale fyi. That is probably the better option. Set it via the CIM. Something along the lines of..... var def = graphicsLayer.GetDefinition() as CIMGraphicsLayer; def.ReferenceScale = 1000.0; //eg 1:1000 graphicsLayer.SetDefinition(def);
... View more
04-20-2021
04:29 PM
|
0
|
2
|
3734
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-19-2026 10:29 AM | |
| 1 | 04-29-2026 02:06 PM | |
| 1 | 01-08-2026 02:03 PM | |
| 1 | 01-08-2026 02:15 PM | |
| 3 | 12-17-2025 11:33 AM |
| Online Status |
Offline
|
| Date Last Visited |
a month ago
|