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: Suspect Link Initialization
Topic Summary:
Created On: 6-Aug-2004 22:55
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.
 6-Aug-2004 22:55
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

We want to initialize all the Suspect Links without doing it manually. Anybody write some DXL that initializes all the module's in a project or folder or whatever? The ..\suspect\initialize\initialize.dxl file look promising.

- Louie
Report this to a Moderator Report this to a Moderator
 10-Aug-2004 09:25
User is offline View Users Profile Print this message


Ross Morgan

Posts: 74
Joined: 15-Apr-2004

there isn't an API for initialising suspect links, but...
here's some pseudocode, minus the errorchecking, access checking, module opening, module saving etc...

for o in entire theModule do
{
link theLink
for theLink in o <- "*" do
{
theLink."Suspicion Cleared Backwards" = dateOf(intOf today)
<add a history comment to the link target>
}
}
for o in entire theModule do
{
link theLink
for theLink in o -> "*" do
{
theLink."Suspicion Cleared Forwards" = dateOf(intOf today)
<add a history comment to the link source>
}
}
Report this to a Moderator Report this to a Moderator
 10-Aug-2004 10:18
User is offline View Users Profile Print this message


Paul Tiplady

Posts: 176
Joined: 28-Oct-2003

... except you probably want to use linkRef (not link) for the inlinks, in case the source is not open.

Paul

-------------------------


Paul dot Tiplady at TRW dot com
TRW Automotive
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.