Select to view content in your preferred language

Auto-Fill Relationship Class by Cursor

1106
3
07-28-2021 12:58 AM
Labels (3)
FlorianWolzenburg
Emerging Contributor

Hello Community,

 

I'm trying to populate a relationship class not per selection but per python script. Is that possible?

And if it is. How do i do it ? Cause my script runs in the same error foreign key can't be updatet.

 

Greetings and thx for your help oder tips

Florian

0 Kudos
3 Replies
JohannesLindner
MVP Frequent Contributor

I'm not really sure what you're asking.

You want to create a relationship class with Python? That is possible, take a look at pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/create-relationship-class.htm .

If you need help with your script, please post the relevant sections (expand the comment toolbar, click "Insert/Edit code sample", choose Python as language) and tell us at what line the error occurs.


Have a great day!
Johannes
0 Kudos
FlorianWolzenburg
Emerging Contributor

Hello Johannes,

No i already have a relationship class but it is empty and now i want to add Data to it. But not by Hand. I think i found the tool to do so.

Greetings

Florian

0 Kudos
FlorianWolzenburg
Emerging Contributor

The Problem is solved. Thank You for your help.

0 Kudos