|
POST
|
Jimmy, At the risk of asking a stupid question, is the first layer in your map a feature layer that points to a versioned feature class? That sample code only works if that is the case. --Rich
... View more
09-13-2019
09:06 AM
|
0
|
5
|
3907
|
|
POST
|
Hi Victor, Deleting versions can be a tricky process. You have to ensure that all outstanding Rows, Tables, Feature Classes, Feature Datasets, etc. have been disposed. Read a description about this here. Note also that Map has a method called ChangeVersion(). You could try using this to switch the layers in the map rather than the geoprocessing tool. I hope this helps, --Rich
... View more
09-11-2019
08:51 AM
|
0
|
0
|
1628
|
|
POST
|
James, I think setting the TableSortDescription.QueryFilter property will provide what you're looking for. --Rich
... View more
08-29-2019
03:34 PM
|
0
|
1
|
2810
|
|
POST
|
Hi James, Check out this section in the Geodatabase concepts document; I think it should answer your questions. Thanks, --Rich
... View more
08-29-2019
12:31 PM
|
0
|
3
|
2810
|
|
POST
|
Hi Scott, Once you fetch an individual feature, you can certainly view and edit the attribute data. Here is an example showing how to modify a row: ProSnippets Geodatabase · Esri/arcgis-pro-sdk Wiki · GitHub I hope this helps, --Rich
... View more
08-06-2019
08:18 AM
|
0
|
0
|
3353
|
|
POST
|
Hi Øystein, Ave's issue should have been fixed at Pro 2.4. What version of Pro are you using? Could you post a small code snippet about what you are trying to do? Thanks, --Rich
... View more
08-06-2019
08:12 AM
|
0
|
2
|
3270
|
|
POST
|
One additional thing to think about... If you want to make use of a particular field in a tracing operation, you need to create a Network Attribute, and only one Network Attribute can be assigned to a single field. If one of these fields has different uses for different asset groups, you're going to have a hard time coming up with a Network Attribute name that makes sense. Let's continue with John's example above. If you wanted to run a trace that used KVAR for capacitors (I don't know if this is an actual use case, just go with me here) and also wanted to run a different tracing operation that looks at KVA for transformers, what would you name this Network Attribute? If you name it KVAR, you're going to confuse the Transformer trace people. If you name it KVA, you're going to confuse the capacitor people. My recommendation is that if you want to create a Network Attribute on a field, you shouldn't reuse that field for other purposes in different Asset Groups. This only really applies if your users are using the Trace geoprocessing tool user interface. If you've built geoprocessing models or SDK tools for tracing (and you really should), then users won't see the names of the Network Attributes and you don't need to worry about this. --Rich
... View more
08-02-2019
08:36 AM
|
0
|
0
|
7192
|
|
POST
|
Bryan, I don't know the answer to your question about how to use the Oracle.ManagedDataAccess control inside a Pro add-in. I'm not familiar with the control. An alternate implementation you might consider is to use the Database class from the Pro SDK. This allows you to directly access relational databases that may or may not be ArcGIS geodatabases. --Rich
... View more
07-30-2019
01:58 PM
|
0
|
2
|
1741
|
|
POST
|
Just to clarify... John Alsup wrote: Related tables cannot participate in tracing at this time. There are future plans for Non-spatial objects, but no firm release date for that capability. The non-spatial objects would allow for participation in tracing. Non-spatial edges and junctions are intended to better model telecom facilities. There's no plan to provide access to related tables in tracing.
... View more
07-29-2019
12:38 PM
|
0
|
0
|
7192
|
|
POST
|
Naresh and Justin, Joins create a virtual feature class, which does not have a corresponding definition. When you add a join to a layer, the original feature class is replaced with this new virtual feature class. Here's the technique for getting the definition from a joined layer. 1. Get the (virtual) feature class from the layer using FeatureLayer.GetFeatureClass() 2. Get the join from the virtual feature class using Table.GetJoin() 3. Get the origin table from the join using Join.GetOriginTable() 4. Get the definition from the origin table Here's a code sample: private TableDefinition GetDefinitionFromLayer(FeatureLayer featureLayer)
{
// Get feature class from the layer
FeatureClass featureClass = featureLayer.GetFeatureClass();
// Determine if feature class is a join
if (featureClass.IsJoinedTable())
{
// Get join from feature class
Join join = featureClass.GetJoin();
// Get origin table from join
Table originTable = join.GetOriginTable();
// Return feature class definition from the join's origin table
return originTable.GetDefinition();
}
else
{
return featureClass.GetDefinition();
}
} I hope this helps, --Rich
... View more
07-19-2019
03:10 PM
|
1
|
2
|
1653
|
|
POST
|
Are you updating each row in its own EditOperation? Or all you calling modifyOp.Modify() 600,000 times for the single call to new EditOperation()?
... View more
07-15-2019
12:51 PM
|
0
|
0
|
2695
|
|
POST
|
Hi James, I would check out the ProConcepts Editing help topic. This snippet can probably be modified to solve your issue. I hope this helps, --Rich
... View more
07-12-2019
11:08 AM
|
0
|
2
|
2695
|
|
POST
|
Go ahead and try it; it looks like it should work. We are investigating adding the ability to iterate through datasets of a file system data store, but that would be Pro 2.5 at the absolute earliest. --Rich
... View more
07-10-2019
09:23 AM
|
0
|
2
|
2588
|
|
POST
|
Hi Gintautas, If you have a Geodatabase object, you can call Geodatabase.GetDefinitions<RasterDatasetDefinition>. This will return a list of RasterDatasetDefinition objects. I can tell you how to obtain a Geodatabase object if you tell me where you are starting from (e.g., FeatureLayer). I hope this helps, --Rich
... View more
07-09-2019
08:19 AM
|
0
|
5
|
2588
|
|
POST
|
Hi Ted, Create a DatabaseClient object, and then call ExecuteStatement(). Let me know if you have any more questions, --Rich
... View more
07-02-2019
11:54 AM
|
0
|
0
|
1791
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 12-13-2024 11:22 AM | |
| 2 | 01-29-2026 09:34 AM | |
| 2 | 01-28-2026 08:20 AM | |
| 1 | 12-10-2025 09:15 AM | |
| 2 | 11-30-2025 12:23 PM |
| Online Status |
Offline
|
| Date Last Visited |
a week ago
|