![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Utility to list al varibles in a module Topic Summary: Created On: 12-Feb-2007 13:48 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Hello,
I am looking for a way to get insight in the variables used within a DOORS database. Also the values of multi-select variables and module variables, not the actual values. Does anyboduy have a utility to acchieve this? Best regards, Edwin Buisman. |
|
![]() |
|
![]() |
|
Do you mean get the attributes of a module?
If so this will get you the name of every module attribute in a module: string attr for attr in attributes(current Module) do { print attr "\n" } To get all the object attributes in a module: string attr for attr in current Module do { print attr "\n" } I don't believe there is a way to get the values of multi-valued attributes. You can check to see if something is in a mult-valued attribute using isMember(). ------------------------- David Pechacek AAI Services Textron dpechacek@sc-aaicorp.com David.Pechacek@gmail.com |
|
![]() |
|
![]() |
|
You can use the 'for ad in mod do' function to get a 'handle' on the AttrDefs. From that you can get a handle on the 'AttrType' of that Def, via at = ad.type. From that you can determine if its Enumerated and if it us query on the legal enumerated values of that type.
The 'isMember' function is used to find out if an object has an enumerated selected, it doesn't tell you which enumerated values are legal. - Louie |
|
![]() |
|
![]() |
|
How can we get the values of the attributes along with the names
Rakesh |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Utility to list al varibles in a module
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.