Hi,
I have created a module (module A, let's say) with many objects in it. All of these objects are linked to one or more objects in module B. I now want to remove a selection of objects from module A, and put them in a brand new module - module C. However I want the links to remain; in other words, the objects in module C should still link to the same objects in module B, as per when the moved objects were in module A.
Is there a way to do this please?
Thanks
TR4321 - Wed Feb 09 07:09:26 EST 2011 |
|
Re: Copying objects and their links SystemAdmin - Wed Feb 09 07:40:51 EST 2011
(assuming that you already have module C existing)
-
In Module A run the script in (Tools menu) DXL Library: "Some example programs..." / "Example to create a Text Attribute which can be used by Link-by-attribute" to store the A->B links in Module A
-
Copy the objects to-be-moved from Module A to Module B including the attribute created above using the tool Tools / Functions / Copy Objects
-
Re-create the links in Module C to B by running the Tools / Link by attribute tool
-
Delete the old objects from Module A (if incoming links, you have to first delete the links)
For help on these check the "Using the object copier" and "Linking by attribute" sections in DOORS Help
|
|
Re: Copying objects and their links SystemAdmin - Wed Feb 09 07:52:48 EST 2011 SystemAdmin - Wed Feb 09 07:40:51 EST 2011
(assuming that you already have module C existing)
-
In Module A run the script in (Tools menu) DXL Library: "Some example programs..." / "Example to create a Text Attribute which can be used by Link-by-attribute" to store the A->B links in Module A
-
Copy the objects to-be-moved from Module A to Module B including the attribute created above using the tool Tools / Functions / Copy Objects
-
Re-create the links in Module C to B by running the Tools / Link by attribute tool
-
Delete the old objects from Module A (if incoming links, you have to first delete the links)
For help on these check the "Using the object copier" and "Linking by attribute" sections in DOORS Help
Typo:
"Copy the objects to-be-moved from Module A to Module B" should be "Copy the objects to-be-moved from Module A to Module C"
|
|
Re: Copying objects and their links TR4321 - Wed Feb 09 09:52:11 EST 2011 SystemAdmin - Wed Feb 09 07:52:48 EST 2011
Typo:
"Copy the objects to-be-moved from Module A to Module B" should be "Copy the objects to-be-moved from Module A to Module C"
Hi Pekka - thanks for your replies. I have the 'Create Link Attribute' window up. When selecting 'Save links' I get an error message stating 'No attribute is specified'. What do I need to put in the 'Existing attributes' or 'New attribute' fields (I'm guessing it is one of these which needs some data)?
I should say, if it makes a difference, that the objects being copied from module A to C are numerous (hundreds), and are spread throughout module A - so they aren't in a discrete section.
Thank you in advance
|
|
Re: Copying objects and their links TR4321 - Wed Feb 09 10:23:13 EST 2011 TR4321 - Wed Feb 09 09:52:11 EST 2011
Hi Pekka - thanks for your replies. I have the 'Create Link Attribute' window up. When selecting 'Save links' I get an error message stating 'No attribute is specified'. What do I need to put in the 'Existing attributes' or 'New attribute' fields (I'm guessing it is one of these which needs some data)?
I should say, if it makes a difference, that the objects being copied from module A to C are numerous (hundreds), and are spread throughout module A - so they aren't in a discrete section.
Thank you in advance
Also, you say copy the objects to be moved - and the new attribute. Where do I find the latter?
I am a new DOORS user, and haven't used it in detail - so, sorry to sound dense!
|
|
Re: Copying objects and their links TR4321 - Wed Feb 09 10:48:28 EST 2011 TR4321 - Wed Feb 09 10:23:13 EST 2011
Also, you say copy the objects to be moved - and the new attribute. Where do I find the latter?
I am a new DOORS user, and haven't used it in detail - so, sorry to sound dense!
All done now - thanks ever so much Pekka. That's absolutely fantastic
|
|
Re: Copying objects and their links SystemAdmin - Wed Feb 09 11:35:22 EST 2011 TR4321 - Wed Feb 09 10:48:28 EST 2011
All done now - thanks ever so much Pekka. That's absolutely fantastic
Fine, a happy ending! :-)
|
|