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: Open Module and Select Object
Topic Summary:
Created On: 27-Feb-2007 23:24
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.
Answer This question was answered by Octavian Stanescu, on Wednesday, February 28, 2007 3:46 PM

Answer:
Ok, I end up using 2 lists: - tree path <-> moduleVersion - tree path <-> object absolute number Now everithing works, thank you. If you are interested in my little link explorer, let me know and I will try to upload a generic version. It shows all in-links to a module (or all modules in a folder) untill there is no more in-links in a tree view. Also you can filter by link modules.
 27-Feb-2007 23:24
User is offline View Users Profile Print this message


Octavian Stanescu

Posts: 39
Joined: 28-Feb-2005

Hi,
I have a treelist DBE representing a previously generated skip list with objects.
When double-click on the tree items I supose to open the module where the object is and select it.
My code does that but only for the first time.
So the scenario is:
1. In the treeview double-click on some node.
2. The DXL displays the module and selects the object associated with the node.
3. Close the module
4. Double - click again on some node that will get to the same module.
5 -->>> DOORS crash

Any ideas?
Report this to a Moderator Report this to a Moderator
 28-Feb-2007 09:54
User is offline View Users Profile Print this message


Reik Schroeder

Posts: 361
Joined: 28-Jul-2003

Hi Octavian,

the problem seems to be in the fact, that you are closing the module between your tries.

You have saved the Objects as Objects in your Skip list, so you need to know that Object data type is only a reference to the Object in memory. When you close a Module all Object handles and Module handles to it will become invalid.

To solve your problem you need to store may be the Absolute number and the name/uniqueID of the module in your Skip list and try to get the Object from it. But be carefull with using Object object(int absno[,Module m]) function, because it will only work for Objects displayed in current view of Module.

Greetings
Reik

-------------------------
Evosoft GmbH
for Siemens Industry Sector


Berlin, Germany
Report this to a Moderator Report this to a Moderator
 28-Feb-2007 15:46
User is offline View Users Profile Print this message


Octavian Stanescu

Posts: 39
Joined: 28-Feb-2005

Answer Answer
Ok, I end up using 2 lists: - tree path <-> moduleVersion - tree path <-> object absolute number Now everithing works, thank you. If you are interested in my little link explorer, let me know and I will try to upload a generic version. It shows all in-links to a module (or all modules in a folder) untill there is no more in-links in a tree view. Also you can filter by link modules.
Report this to a Moderator Report this to a Moderator
 28-Feb-2007 22:36
User is offline View Users Profile Print this message


Paul Miller

Posts: 376
Joined: 2-Oct-2002

Hi Octavian,

Please post your generic script to this forum or email to me at: pmiller@eurocyber.biz

-------------------------
Paul Miller
Specification Practices Specialist,
EuroCyber,
Melbourne, Australia.
Mobile: +61 (0)418 135 103
Web Site: http://www.eurocyber.biz
E-mail: miller@eurocyber.biz">pmiller@eurocyber.biz
Report this to a Moderator Report this to a Moderator
 15-Mar-2007 19:53
User is offline View Users Profile Print this message


Octavian Stanescu

Posts: 39
Joined: 28-Feb-2005

Ok, This DXL scrip will display the objects from a certain module or folder with their in-linked objects until there are no more in-links in a treeview format. It is helpful to watch the higher level requirements with their in-linked sub level requirements and in linked tests. It will try to find Requirements that have no in-linked tests, or deleted in-linked tests. You can export errors to Excel or the entire treeview. You will need attributes that defines requirements and tests. See the attrdef.inc file for the attribute names and values. Install in addins folder, otherwise it does not work! Regards, Octavian

Link Walker.zip
Link Walker.zip  (19 KB)

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