Document toolboxDocument toolbox

Merge Items in Room

Use “Merge Items in Room” option to merge Items List in two differents rooms together. With this option it is possible to handle more than one version of the same room.

The Occurrences in a Room will have a connection to the occurrence within the original room, that gives an option to merge the Occurrences. 

 

  1. Select the Room that the merge Item lists should be placed within.

  2. Select “Merge Items from” within the Ribbon menu. And a window will appear.

  3. Select the room you want to merge the Items from.

  4. Select “Ok”. A list of actions will appear:

5. Uncheck boxes of actions that should not be included in the merge.

6. Select “ok”

The Occurrences of the items selected in step 3 are now merge with the Occurrences in the room selected in step 1.

The goal of merging is to keep as much of the historical values of the occurrences, that means that dRofus tries to keep the oldest version of the occurrence if that is possible. 

Example

  1. Room 1 has a Chair A with the color blue.

  2. Room 1 is copied and named room 2. Room 2 has also a chair A(copy) with color blue. 

  3. The color to chair A (copy) changes to green.  

  4. Merge Item list:  In the merging process the changes made to chair A(Copy) would be updated to the original Chair A. In this case. Chair A would change to green and the chair A(copy) would be deleted.  That means that dRofus will keep all historic values on the chair A, but now it is green.



The Copy room and merge items function can be used to work with rooms that are in two phases in once.
If you are planning a rebuild of a couple of rooms in a building that is in operation, you will need a copy of those rooms to start your planning process and you will need a function to merge the items when you are starting the building process

Rules applied to the Merge items from room function

With the merge function there is a lot of rules that decide what will happen in each case. 
These rules are:

Only Exists In Source:

•The occurrence is new in the source room (created after the copied was performed).

•The merge will move it to the target room;

Only Exists In Target:

•The occurrence is new in the target room (created after the copied was performed).

•The merge will leave it in the target room;

Source Equals Target:

•The occurrence in both source and target rooms is equal.

•The merge will not change the occurrence in target room but will delete the occurrence in the source room; 

Source Exists Target Deleted:

•The occurrence still exists in the source room, but it was deleted in the target room.

•The merge won't do anything with the occurrences;

Source Deleted Target Exist:

•The occurrence was deleted in the source room, but still exists in target.

•The merge will delete the occurrence in the target room;

SourceAndTargetChanged':

•The occurrence was change in both the source and target rooms.

•The merge will move the changed occurrence in the source room to the target room, keeping both occurrences in the source room. 

'OnlySourceChanged':

•The occurrence was changed only in the source room.

•The merge will move the original occurrence to the target room and delete the other occurrence in target; 

'OnlyTargetChanged':

•The occurrence was changed only in the target room.

•The merge will move the original occurrence to the target room, apply the changes that were done in target room to this and delete the other occurrence in target; 

'SourceIsSystemComponentAndTargetChanged':

•This is a special case of 'OnlyTargetChanged', where only the occurrence in the source room was changed, but the occurrence in the source room is a system component.

•The merge will move the occurrence in the source room to the target room and keep the modified occurrence in the target room.