Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
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
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 9-Aug-2007 21:42
User is offline View Users Profile Print this message


Brian Rohler

Posts: 26
Joined: 20-Jun-2007

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??
Report this to a Moderator Report this to a Moderator
 10-Aug-2007 07:24
User is offline View Users Profile Print this message


Reik Schroeder

Posts: 361
Joined: 28-Jul-2003

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
Report this to a Moderator Report this to a Moderator
 10-Aug-2007 08:01
User is offline View Users Profile Print this message


Peter Albert

Posts: 232
Joined: 30-Dec-2005

Additional note: you can force the re-calculation of all attribute DXL using Tools --> Refresh DXL attributes.

Peter
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 1 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.