![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Using an object attribute value in same module Topic Summary: Created On: 2-Jul-2008 13:51 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: Try using the pre-defined Object variable 'obj' instead of the current Object. 'obj' is each appropriate object in layout DXL, while the current Object as you observed, is the one you selected. Cheers, Peter | |
![]() |
|
Hi... the more I think about this the simpler I think it should be but...
I have code that searches through multiple objects in linked modules and returns the value. The linked modules attribute is in the format of a 3 option list. The values from all linked modules are aggregated and the lowest value used to display a status (RAG) I now need to consider the value of a multivalue attribute that exists in the same module as the RAG status and introduce another status of Blue (RBAG). I thought I could use Object o = current s = o."multivalue" and use string s in the if statements to but this seems to use any object I select with the mouse resulting in every value in the column being the same. How do I stop this from happening and just use the value appropriate to the object? Thanks ____________________________________ Steve |
|
![]() |
|
![]() |
|
Try using the pre-defined Object variable 'obj' instead of the current Object. 'obj' is each appropriate object in layout DXL, while the current Object as you observed, is the one you selected.
Cheers, Peter |
|
![]() |
|
![]() |
|
Peter,
Thank you very much. It works as expected. ___________________________________ Steve |
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.