![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Find objects after or below a specified object in a section Topic Summary: Created On: 2-Feb-2007 21:49 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
I am working on a module where I need to identify all objects after or below (not above) a selected object within that section. This modules contains requirements for several products and some sections do not apply to some products. I inserted a text object "Not applicable to this product" immediately below each heading object. If none of the remaining requirements after this object are applicable for a specific product, the enumerated attribute for that product will be checked for this text object. When a product compliance view is created, it will show that this section is not applicable to this product without breaking the continuity of the document.
Inserting this text object under each heading is easily done. I tried the attached code to find the children and siblings of this object, but it does not return all the objects correctly. Will anyone look at this code and see how best we it can be changed to get all the objects before another sectional heading object is reached. |
|
![]() |
|
![]() |
|
Correction: "return ob" statement in the first section is not outside the "while.." loop. It is within the loop, as in the second section.
|
|
![]() |
|
![]() |
|
I think I'd be able to work out the code in a much simpler way now. I referred to the attached notes in the DXL manual in the Views chapter. I tried them as :
Object o = current Object prev = previous o Object aft = after o They are working without any argument for the filter. Is the filter argument optional? |
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.