![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Suspect Link Initialization Topic Summary: Created On: 6-Aug-2004 22:55 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
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 |
|
![]() |
|
![]() |
|
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> } } |
|
![]() |
|
![]() |
|
... 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 |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Suspect Link Initialization
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.