![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Layout DXL and the Analysis Wizard Topic Summary: Converting Layout DXL to Dxl Attribute Created On: 9-Aug-2007 21:42 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
I am trying to create a DXL Attribute that uses the contents of two other attributes to calculate a value. For example, if the value in attribute A is > 8 and the value in Attribute B is >5 then the DXL attribute will display "YS."
When I use a for loop the objects update too frequently and the module reacts too slowly to navigate. Without the loop, the objects only populate if the specific object is selected.
I created a Layout DXL code that works, but the analysis wizard we use can't use Layout DXL.
When i convert this Layout DXL to a DXL Attribute and use the analysis wizard, it still does not work.
Any insight??
|
|
![]() |
|
![]() |
|
Hi Brian,
this attribute DXL code should be looking very simple: int iVal_A = obj."A"; int iVal_B = obj."B"; if (iVal_A > 8 && iVal_B > 5) obj.attrDXLName = "YS"; else obj.attrDXLName = " "; // prevent from recalculation The assignment of "space" is used to not recalculate the the value on each access. You should know, that ADXL is evaluated again, if it contains the null value. Greetings Reik ------------------------- Evosoft GmbH for Siemens Industry Sector Berlin, Germany |
|
![]() |
|
![]() |
|
Additional note: you can force the re-calculation of all attribute DXL using Tools --> Refresh DXL attributes.
Peter |
|
![]() |
Telelogic DOORS
» General Discussion
»
Layout DXL and the Analysis Wizard
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.