![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: views and getting object values Topic Summary: Created On: 27-Jul-2007 09:18 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Hallo,
I'm a real beginner on working with DOORS and DXL. So I only wants to execute DXL scripts over API to make DOORS return some data. A defined view of a module, which is linked with two other modules, is base for searching for objects with certain attributes. With my DXL script I can load all needed modules and the view. I also can read values in columns of objects of the module the view belongs to, but I can not read values from columns, which containing values from linked modules. For example: print object."Object Heading" "\n" works fine, but print object."column name of view" throws an error -> object has no attribute "column name of view" There must be an easy way to read values of a view. Or how can I follow the link to another modules? Thanks in advance... |
|
![]() |
|
![]() |
|
I found a solution myself. It is pretty easy.
To get the looking for column: for columnS in module do { if ((title c) == "name") column = columnS } and to get the value in this column for a certain object: string s = text(column, object) |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
views and getting object values
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.