POST
|
All, We are trying to programmatically determine the selected cell within a standalone table added to one of our data frames. We have determined that "ISelectionSet" is not sufficient to determine the specific cell since it only returns the selected row. Any pointers or tips would be greatly appreciated. Also, would something like this be translatable to a FeatureClass?
... View more
10-25-2012
10:14 AM
|
0
|
0
|
598
|
POST
|
Thanks for the reply. The "lyr.name" does not work on any machines as we are using 10.0. But the "replaceDataSource" does not work consistently between different builds of 10.0. When we execute the script on a machine with the following credentials, the "replaceDataSource" function renames the Standalone Table to the dataSet name that we passed. ESRI ArcCatalog 10.0 (Build 2414) License: ArcInfo However, when we execute the same script on machines the following credentials, the "replaceDataSource" function does NOT rename the Standalone Table to the dataSet name that we passed. The name remains the same as the original Standalone Table name from the MXD. ESRI ArcCatalog 10.0 (Build 3200) ArcGIS Desktop 10 Service Pack 2 License: ArcInfo -or- ESRI ArcCatalog 10.0 (Build 4000) ArcGIS Desktop 10 Service Pack 4 License: ArcInfo Do you have link to that bug report? Thanks.
... View more
08-08-2012
08:52 AM
|
0
|
0
|
259
|
POST
|
Hello All, We are trying to update the data source of a broken Table View layer in an MXD. On one machine the layer name is renamed to the dataset name in the new workspace. However, other machines we have tested on do not change the layer's name to the new dataset name. table = arcpy.mapping.ListTableViews(mxd, "", df)[0] table.replaceDataSource(county_fgdb, "FILEGDB_WORKSPACE", countyname, True) We have tried using the "name" property on the TableView object: table.name = countyname But, we are met with the following error: StandaloneTableObject: Set attribute name does not exist. We have checked the TableView API in 10.0 (http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/TableView/00s300000017000000/) and it states that "name" is read/write. It is also strange that it states that it is a StandaloneTableObject instead of TableView. Does anyone have an idea about this issue? If more information is needed, please let me know. Thanks
... View more
08-06-2012
11:58 AM
|
0
|
4
|
372
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|