This topic was originally started in this thread
Importing SysML elements from EAP file : Ansys medini analyze Support
but since it was a bit off topic I've created a new topic.
When I try to move ports or functions by changing the_owner I get the following error

even though I use this pragma in the script
//$EXPERIMENTAL$ $ENHANCED_CONTAINMENT_ACCESS$
The work-around would be to delete and create new functions and ports, but I would prefer to not do that because I am using the mediniIdentifier as the ID in my my scripted export to codeBeamer. :-)
Any idea what can cause it? And it is sure that it should work?
Regards,
Mattias