![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: inlinks object text Topic Summary: Created On: 5-Feb-2004 21:12 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() 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. | |
![]() |
|
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 } } |
|
![]() |
|
![]() |
|
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. |
|
![]() |
|
![]() |
|
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 |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
inlinks object text
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.