Hi, is it possible to get a relationship from an empty group by script ?
(When you deleted a models in group, the relationship still existing. )
Hi, is it possible to get a relationship from an empty group by script ?
(When you deleted a models in group, the relationship still existing. )
The relationships aren't stored in the groups alongside the models, instead the relationships "exist" because the particular models exist. If you delete the model and the relationships remain as crap on your database, I can only recommend reorganizing your database to get rid of the the remaining relationships. Note that this (somewhat drastic) measure will also delete all object definitions from your database which don't have occurrences, which can be something you may not want.
You can reorganize your database either by script
Context.getComponent("ServerAdmin").reorganiseArisDatabase(database, null);
or by right clicking it in your ARIS explorer and picking the relevant context-menu option.
Edit: formatting
The relationships aren't stored in the groups alongside the models, instead the relationships "exist" because the particular models exist. If you delete the model and the relationships remain as crap on your database, I can only recommend reorganizing your database to get rid of the the remaining relationships. Note that this (somewhat drastic) measure will also delete all object definitions from your database which don't have occurrences, which can be something you may not want.
You can reorganize your database either by script
Context.getComponent("ServerAdmin").reorganiseArisDatabase(database, null);
or by right clicking it in your ARIS explorer and picking the relevant context-menu option.
Edit: formatting