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: modify DXLAttribute manualy
Topic Summary:
Created On: 12-Apr-2007 11:54
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.
 12-Apr-2007 11:54
User is offline View Users Profile Print this message


Mussie Woldemicael

Posts: 95
Joined: 12-Sep-2006

Hello DXLiens,
I have an attribute A which is an DXL attribute the values of that attribute are calculated by the script!
What can I do if I want to modify the value manually?

best regards,
Mussie
Report this to a Moderator Report this to a Moderator
 12-Apr-2007 13:48
User is offline View Users Profile Print this message


David Pechacek

Posts: 674
Joined: 5-Dec-2006

By manually do you mean change the script so that the value changes? Or do you mean just type something else into the value?

The latter is not possible. To change the value, you have to change the script. To do that, you go to the Attributes menu, select the attribute, click edit, next to the "DXL attribute" checkbox select the browse button, then on the menu that comes up, click "Current". That will bring up the DXL window with the code for the attribute. You modify that.

-------------------------
David Pechacek
AAI Services Textron
dpechacek@sc-aaicorp.com
David.Pechacek@gmail.com
Report this to a Moderator Report this to a Moderator
 12-Apr-2007 23:36
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

David is right you cannot change the value of a DXL attribute.

But consider this:
DxlAttr type 'String' called 'NumInLinks" that counts the number of inlinks to the object. Defined another attribute type 'String' called 'NumInLinksOverride'. The code for NumInLinks is changed such that it first reads NumInLinksOverride and if that's non-null, then sets obj.attrDxlName to that value. If it is null then it proceeds to count the links normally.

Users modify NumLinksOverride in order to change the value of NumInLinks.

- Louie
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 2 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 2 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.