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: 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
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.
 2-Feb-2007 21:49
User is offline View Users Profile Print this message


Krishna Kandala

Posts: 170
Joined: 8-Jul-2006

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.
Report this to a Moderator Report this to a Moderator
 2-Feb-2007 22:10
User is offline View Users Profile Print this message


Krishna Kandala

Posts: 170
Joined: 8-Jul-2006

Correction: "return ob" statement in the first section is not outside the "while.." loop. It is within the loop, as in the second section.
Report this to a Moderator Report this to a Moderator
 4-Feb-2007 03:49
User is offline View Users Profile Print this message


Krishna Kandala

Posts: 170
Joined: 8-Jul-2006

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?


 

Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 2 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 2 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.