Engineering Requirements Management

 [DOORS 9.7] Moving objects across a large module

Anne's profile image
Anne posted Thu January 09, 2025 01:17 PM

Hello there,

I'd like to move Doors objects inside a module containing about 10,000 objects. The thing is that using the drag-and-drop solution is time-consuming as the scroll time is very long. Is there another way to move objects to a desired location (in the same module)?

Thanks,

Jorge Garcia's profile image
Jorge Garcia

Hi Anne,

I suppose you know the function move. You can use it if you know the source id and the target id. You can create a skip/array structure with source and target and loop in a for to move all the desired objects. 

Another option, it should be a dxl script where you put the object you want to move and the destination (below or not) as a parameter and execute that script every time you need it. This is done one by one , but if the user is updating the module and needs to move a concrete object, maybe is a better option

I use something similar to the first option when I want to move objects with deleted status to a Deleted section.

Hope it helps

Juan Fernández's profile image
Juan Fernández

Hello Anne,

Jorge's answer is good if you are familiar with DXL. However, if you don't want to create DXL scripts, you can move objects simply by cutting and pasting them where you want. I think this is easier than the drag-and-drop solution when there are a lot of objects.

To cut an object, right-click on it and select "Cut". Then, select the object where you want to paste it, right-click again, and choose "Paste", at the same level or one level down.

I hope this helps you!

Regards,

Kyösti Huhtala's profile image
Kyösti Huhtala

Comment on Juan's answer: it is good to note that cut-operation cuts object and all objects below it in the hierarchy. This is usually handy, but may confuse in the beginning.

Anne's profile image
Anne

Thanks all for your great tips, it helped me a lot!