![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Delete All Objects in My Current View Topic Summary: Created On: 21-Sep-2007 16:43 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
So I want to delete all of these objects that I am filtering on. I filter on the objects and select them all (hold shift while I click). The problem is that the objects that are not filtered on (objects in-between two objects that appear in my filter) also get selected and would get deleted.
How do I delete just what is in my view? I think its something simple, I just can't think right now cause I haven't had lunch yet. Thanks Walter |
|
![]() |
|
![]() |
|
Still haven't found a real solution to this. Holding down the 'Delete' key when at the top of the view isn't too bad...
|
|
![]() |
|
![]() |
|
The way Doors works is: if you delete a certain object, you automatically delete all his descendants. Theoretically you can apply a filter and you will see few objects ,you will delete them but together with them you will delete all their descendants, therefore you have to be careful.
|
|
![]() |
|
![]() |
|
My solution has been to write some dxl that tags all the visible objects in an attribute, then loops through all objects and deletes those where the attribute is tagged.
This will still delete descendants, and you do need to ensure the 'delete' attribute is empty for those things you want to keep. |
|
![]() |
|
![]() |
|
If the filteris activated you can use the attached DXL. It only deletes the visible objects. You only need to be aware that all objects one level down will also be deleted, but that is standard DOORS behaviour.
|
|
![]() |
Telelogic DOORS
» General Discussion
»
Delete All Objects in My Current View
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.