Description

The RelationChecker component lists all the unresolved relations in the station. There is also an option to search for duplicate relations (be careful as the process can take some time).
You can the select items to delete using the DeleteInvalidRelations actions.

We cannot refresh the view dynamically, so you must refresh the view after each action to have valid information

We consider that there is a duplicate relation when there is at least two relations from the same source component to the same target component with the same id 


Implementation



  • Drag and drop the component anywhere in the station.
  • Change the base if needed (otherwise it will check all the station).
  • Set the SearchDuplicates to true if you want to check if any duplicate relation is present.
  • Right click on "execution" action.
  • The results will be displayed in results slot property.
  • Refresh the view to update the InvalidRelationConainers and the duplicateRelations properties.
  • Select the components you want to clean and the relations you want to delete.
  • Trigger the DeleteInvalidRelations action.


Properties

  • Base: Relations will only be checked under that component. Station by default.
  • SearchDuplicates: Indicates whether the component will search for duplicate relations or not.
  • Results: For each unresolved relation, displays the parent displayName, the relation id and the parent slotPathOrd.
  • InvalidRelationContainers: A list of all the components containing invalid relation. You can select components in the list (or click on select all to select all the components).
  • DuplicateRelations: A list of all the duplicate relations. The ord, the relation id and its facets are displayed to better distinguish the relation.


Actions

  • Execute: To execute the component.
  • DeleteInvalidRelations: Will try to remove the invalid relations in the selected components in the InvalidRelationContainers slot and the selected duplicate relations. If the tool cannot remove them, you might need to reboot the station.