![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: open module , don't display Topic Summary: How do I find an object that is not in the default filtered view? Created On: 3-Oct-2006 21:04 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: I managed to solve my own problem by inserting "filtering off" inbetween the two lines of code in my above post. | |
![]() |
|
I am opening a module as read-only within a script without displaying it. I want to print the object text of a specifc object. I know the absolute number. I want to avoid searching the module (for o in entire m). The code below works if object#2 is visible in the default view. If the view is filtered and object#2 is not visible, then I get a null obj error. Is there any way around this?
|
|
![]() |
|
![]() |
|
I managed to solve my own problem by inserting "filtering off" inbetween the two lines of code in my above post.
|
|
![]() |
|
![]() |
|
yes, that "object(AbsNo, Mod)" command only works for currently displayed objects. That makes it practically worthless. What was Telelogic thinkng? I've just written my own ObjectFind function, but I got real carried away with it, storing objects in dual skip lists so I can keep track of two module's worth of objects. I'm pretty sure that the "for obj in entire mod do" loop is plenty fast and you won't notice a response hit unless you are doing it 100's of 1000's of times.
- Louie |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
open module , don't display
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.