Select to view content in your preferred language

Geo Prmg Model 9.3 to get at the Primary Key property of a relationshipclass

1108
2
11-23-2010 07:01 AM
justinperez
Deactivated User
Does anyone know if we can get to at a Primary Key Name property of a relationship class?

ESRI: thanks for the new model diagram with the Describe Object expanded!!

I am going to the relationshipclass through the GDB FeatureClass Properties.  Thanks.
Tags (2)
0 Kudos
2 Replies
ChrisSnyder
Honored Contributor
Seems in the v9.3 OMD you can get a field list of the (I assume) fields involved in the relationship class...

When i try to do it though:

import arcgisscripting
gp = arcgisscripting.create(9.3)
dsc = gp.describe(r"\\snarf\am\div_lm\ds\gis\tools\sde_connections_read\ropa_gis_layer_user.sde\CADASTRE.DOCUMENT_TO_PARCEL") # a relationship class BTW
fieldList = dsc.fields
print fieldList

I just get [] (a blank list!)

Seems like a bug... Maybe it works in v10?
0 Kudos
justinperez
Deactivated User
Thanks Chris. I'll give it a study!
0 Kudos