Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
Topic Title: Copying Linksets
Topic Summary: Copying Linksets and Links to Another Link Module
Created On: 5-Sep-2005 09:47
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 5-Sep-2005 09:47
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

The attached is an old QSS script to copy linksets from one link module to another.

copyLinkSet.dxl
copyLinkSet.dxl  (5 KB)



-------------------------
Tony Goodman
http://www.smartdxl.com
Report this to a Moderator Report this to a Moderator
 3-Nov-2005 14:46
User is offline View Users Profile Print this message


Daxesh Patel

Posts: 22
Joined: 15-Jul-2005

Is there something special I need to do to get this working? It shows the linksets and modules which are present in a project, but it does not copy.
Report this to a Moderator Report this to a Moderator
 3-Nov-2005 15:13
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

1. run the script and a dialog is displayed.
2. select the link module to copy from.
available linksets i(if any) are displayed.
3. select the link module to copy to.
4. click on copy linkset button

-------------------------
Tony Goodman
http://www.smartdxl.com
Report this to a Moderator Report this to a Moderator
 9-Nov-2005 19:12
User is offline View Users Profile Print this message


Daxesh Patel

Posts: 22
Joined: 15-Jul-2005

Thanks Tony. It works.
One more step you have to follow is that make sure you have the moudules in the same folder to copy links from one to another. Also, you have to uncheck the Mandatory checkbox as well



Dax
daxesh.patel@trw.com
Report this to a Moderator Report this to a Moderator
 5-Dec-2005 13:31
User is offline View Users Profile Print this message


Baher Mohamed

Posts: 63
Joined: 21-Jun-2005

where's the 'manditory' checkbox located?
Report this to a Moderator Report this to a Moderator
 5-Dec-2005 17:03
User is offline View Users Profile Print this message


Baher Mohamed

Posts: 63
Joined: 21-Jun-2005

i think i got it figured. It seems like you have to run the dxl from one of the modules that is part of the linkset you want to copy.
Report this to a Moderator Report this to a Moderator
 13-Dec-2005 15:22
User is offline View Users Profile Print this message


Jordan Jump

Posts: 5
Joined: 18-Nov-2005

Thanks for the script!

To remove the restriction that both modules are in the same folder, change line 151 from:

if ( null trg ) read(target l, false)

to:

if ( null trg ) read(fullName target l, false)



Jordan

Edited: 13-Dec-2005 at 15:23 by Jordan Jump
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 1 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.