Preventduplicates Clause

A flag can be set in the relationship definition that will prevent duplicates of the relationship type to exist between the same two objects. The default is that duplicates are allowed.

For example, to prevent duplicates of the relationship Documents, use the following command:

add relationship Documents
   preventduplicates

!preventduplicates would turn this feature off.

The preventduplicates flag does not prevent a second relationship between two objects if it points in the opposite direction. For example, given BusObjA connected ONCE to BusObjB with preventduplicates, connecting BusObjA with preventduplicates to BusObjB will fail. Connecting BusObjB with preventduplicates to BusObjA will succeed.