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: Attributes automatically Setting
Topic Summary:
Created On: 21-Oct-2003 16:10
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.
 21-Oct-2003 16:10
User is offline View Users Profile Print this message


Joy Reinhart

Posts: 2
Joined: 21-Oct-2003

I have some attributes that are setting automatically from the parent. However I don't want those attributes to automatically set. If I move the requirement it disrupts the workflow but then I can set the attributes to whatever I wish. Is there a work around for this?
Report this to a Moderator Report this to a Moderator
 23-Oct-2003 10:03
User is offline View Users Profile Print this message


Andrew Tagg

Posts: 29
Joined: 19-Sep-2002

Hi Joy,

for the attributes in question you can do the following:

Edit -> Attributes -> (select your attribute) -> Edit -> Uncheck the 'Inherit Value' checkbox on the left hand side of the form.

Regards
Andrew.

-------------------------
Andrew Tagg
Astrium EADS
Requirements Management Team
Stevenage
United Kingdom
andrew.tagg@astrium.eads.net
www.astrium.eads.net
Report this to a Moderator Report this to a Moderator
 13-Nov-2003 14:25
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

Tagg is right. To which I add:

Lets say you define an attribute to 'Inherit'. You set an object's value to "Square" and you notice that both its subordinate objects display 'Square'. Now exliciticly set one of the subordinate's to 'Square'. You don't notice a difference. But there IS a difference. The other subordinate has no true value. The first subordinate has a specific value and the second doesn't, even if DOORS displays 'Square' in both cases, and in dxl both return 'Square' when you issue: Value = obj.NameAttr. The DXL command "hasSpecificValue" is used to determine whether an object attribute has an actual value or not (it also identifies "defaulted" attributes).

If you like the Inherited values but want to un-inherit the Attribute, you may want to run a DXL that does the following before turning off the 'Inherit' property of the attribute:
for obj in entire mod do
{ obj.NameAttr = obj.NameAttr // gets the inherited value, then explicetely sets it
obj.NameAttr = richText(obj.NameAttr) // for Text attributes in v5
obj.NameAttr = richTextWithOle(obj.NameAttr) // for Text attributes in v6 and v7
} // end for obj in entire mod loop.

- Louie
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.