![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Looking for previous object independent of filter... Topic Summary: Created On: 19-Dec-2006 19:34 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
I commonly use
(for all o in m) previous o when I am looking for previous object information as I am looping thru all objects. This allows me to see the 'actual' previous object without respect to the 'filtered' previous object. QUESTION: Does anyone know of a way to do this from within a "DXL Attribute" when a filter is turned on? I would like to access the 'actual' previous object not the filtered previous object. Thanks Dan |
|
![]() |
|
![]() |
|
Hi Dan,
you could use this way: Greetings Reik ------------------------- Evosoft GmbH for Siemens Industry Sector Berlin, Germany |
|
![]() |
|
![]() |
|
Hi Reik,
Thanks for your response. I don't think I want to be looping thru all objects in the module from within an attribute DXL. (Actually, I've never tried it but it sounds like may be problematic) Have you ever done this? Dan |
|
![]() |
|
![]() |
|
You could turn off the filtering in your DXL attribute and turn it back on at the end of the program. ------------------------- David Pechacek AAI Services Textron dpechacek@sc-aaicorp.com David.Pechacek@gmail.com Edited: 3-Jan-2007 at 21:13 by David Pechacek |
|
![]() |
|
![]() |
|
Hi Dan,
I think it isn't so problematic as you think. There are often things to do with a for o in entire Module loop. The code within the loop is small and does not access attributes, so it should be fast enough ![]() Of course you are right - it is not a best performance solution. It would be much better to do the loop one time and store the reults into a Skip list - but this would only be possible, if you have a global Skip list. It must be shared between all ADXL sessions ![]() Greetings Reik ------------------------- Evosoft GmbH for Siemens Industry Sector Berlin, Germany |
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.