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: inlinks object text
Topic Summary:
Created On: 5-Feb-2004 21:12
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 Srinivas Dasari, on Friday, February 6, 2004 5:08 PM

Answer:
Thanks Roger,

If I am understanding correctly; this minor detail holds true for in links. For out links, my code works fine. This might be due to the link's origination from source module for in links.
 5-Feb-2004 21:12
User is offline View Users Profile Print this message


Srinivas Dasari

Posts: 24
Joined: 13-Dec-2003

The dxl below should print the source object text for an object having an in-link in a module, for some reason it doesn't seem to work.

Module m = current
Object o, sourceo
Link lnk
string srcmod
Module m_src

for o in m do {
for lnk in o <- "*" do {
srcmod = fullName source(lnk)
print srcmod "\n"
m_src = read(srcmod, false)
sourceo = source(lnk)
print sourceo."Object Text" "\n"
close m_src
}
}
Report this to a Moderator Report this to a Moderator
 6-Feb-2004 17:08
User is offline View Users Profile Print this message


Srinivas Dasari

Posts: 24
Joined: 13-Dec-2003

Answer Answer
Thanks Roger,

If I am understanding correctly; this minor detail holds true for in links. For out links, my code works fine. This might be due to the link's origination from source module for in links.
Report this to a Moderator Report this to a Moderator
 6-Feb-2004 19:12
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

Yes. The link is actually stored with the object that sources the links (objects with "outlinks"); so the information about the link is already present. I also believe target modules are automatically loaded when you load a source module. Verify that by [1] open your source module [2] from the DOORS explorer, >> Tools Menu >> Manage Open Modules and take a look at the list; presumably of "invisible" open modules.

- Louie
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.