I just started using 3DExperience and have been trying to figure this out for the past couple of days. I've modified some attributes using the following code:
VPMOccurence_object.InstanceOccurrenceOf.ReferenceInstanceOf.SetAttributeValue "V_Name", "new title"
VPMOccurence_object.InstanceOccurrenceOf.SetAttributeValue "PLM_ExternalID", "new instance name"
I found some string input for the .SetAttributeValue method on this site:
https://catiahelp.azurewebsites.net/English/CAADocPLMPackage/PLMClass_PLMTaskAction.htm
I've been looking un the 3DExperience API indexes documentation, but I haven't found how to change the EIN yet. If anyone has done this before or has any ideas to try, let me know.
Thanks!
Darius