cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Unable to delete empty MetaAssociationEnd

ColruytTeam
Honored Contributor

Hi,

I am not able to delete empty MetaAssociationEnd  its Absolute Identifier (ID) : "83F48E4E57344C2C", Because of this i am getting compile and translate errors. so please give me a solution for this to delete using script or some other way ...

 

Please find the Attachments

 

Thanks in advance .. !

 

 

Colruyt Team
5 Replies

 

83F48E4E57344C2C is not an _idabs, it is an _hexaidabs

If the name of MetaAssociationEnd is empty, you can used the _hexaidabs 

 

You need to identify the ID in 2 formats

_idabs (12 char long), ex C05FC44557467C88

_hexaidabs (16 char long), ex: 9)5m5HiHNX8V

 

Then you can create a .MGR command file with like this

.Delete ."MetaAssociationEnd" "C05FC44557467C88" -
        .CHK "9)5m5HiHNX8V" 
Jerome

ColruytTeam
Honored Contributor

Hello Jhorber,

 

Acually the main problem with this empty MetaAssociationEnd  is geting Translate and Compile Errors, even not allowing to give name or rename as well as delete also. This MetaAssoci​ationEnd is not connected with any MetaClass and MetaOppositeClass.

 

MetaAssoci​ationEnd Name is empty (No Space), just ""

 

MetaAssoci​ationEnd "" idabs "83F48E4E57344C2C"

 

PFA

 

Thanks,

Rajasekhar

Colruyt Team

Hello

 

Please specific the name/idabs of what remains and has to be delete

Ex:

MetaAssociation 'XXXX'  idabs 'XXXXXXXXXXXX'

MetaAssociationEnd1 'XXXX'  idabs 'XXXXXXXXXXXX'

MetaAssociationEnd2 'XXXX'  idabs 'XXXXXXXXXXXX'

 

We need this information to build the appropriate .detete commands

Jerome

ColruytTeam
Honored Contributor

Hello Jhorber,

 

I only created that MetaAssociation and that Ends for temparary usage, related Metaclasses and MetaAssociation are deleted by me but only this metaAssosiationEnd was balanced, that is not allow to delete so can you please provide .MGR file to delete??

 

 

Colruyt Team

jhorber
MEGA
MEGA

Hello Colruyt Team 

 

Deleting a MetaAssociationEnd means in fact deleting a MetaAssociation with both MetaAssocationEnds.

This is not a common action and deletion from Mega.exe is prevented to ensure metamodel consistency as much as possible.

 

If you do not want to use a MetaAssocation any longer, it is recommended to hide it.

 

If the metamodel is already inconsistent for some reason, it is recommended to use a .MGR command file to delete the MetaAssocationEnd involved (it they exist, delete also MetaAssocation and the opposiste MetaAssociationEnd)

Jerome