![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: acess attributes via links Topic Summary: Created On: 12-Jan-2007 12:56 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
hello DXLiens, I wrote a DXL script that is suposed to iterate through all objects of a module best regards |
|
![]() |
|
![]() |
|
You are looping through the objects in the target module every time you follow a link and printing stuff out, so I am not surprised this takes a while to run!
Surely you just need the ID of the linked object, so remove the loop in the target module and just print out the target object identifier. Also, you do not need to check for the existence of system attributes such as "Created By", they always exist. ------------------------- Tony Goodman http://www.smartdxl.com |
|
![]() |
|
![]() |
|
first of all thanks for the answer you are right obviously I don't need to loop through the target module! -I- DXL: execution halted |
|
![]() |
|
![]() |
|
You are assigning the OutlinkedObject variable BEFORE you have loaded the target module.
If the module was not already open then this variable will be null. Assign the target object after loading the target module. ------------------------- Tony Goodman http://www.smartdxl.com |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
thanks for the answer now it works!
|
|
![]() |
|
![]() |
|
I'm trying to run this script on a Module with CP links but it didn't recognise the links ??
Can some one help me? |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
acess attributes via links
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.