![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Modify Enum Type Values Topic Summary: Modify Enum Type Vals Created On: 30-Nov-2005 14:58 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: Hi Tarun, I did something you want to do a long time ago, but I try to remember ![]() The function you will need is AttrType modify(AttrType at, string newName, string strings[], int values[], int colors[], int mapping[], string &errmsg) It is of cause not described in DXL reference manual ![]() But be very carefull by using that function, it can remove values from Enum-Type as you want. But when this removed value is used in some Objects it will be reset to default value - without any entry in history! See attached code for an example of usage for your case ... I hope, that's you need ![]() Greetings Reik Schröder | |
![]() |
|
Hi All
Iam trying to modify values for a enumeration type using DXL but when i use modify command i get a message that the type is in use does any one have experience in modifying enumeration type values using DXL i.e the present values for a type say at={"new","old","deleted"} i want to change it to at={"new","old"} it is happening when i do it from the normal DOORS menu but i need to do it on many modules using a script any help is appreciated Regards Tarun |
|
![]() |
|
![]() |
|
Hi Tarun,
I did something you want to do a long time ago, but I try to remember ![]() The function you will need is AttrType modify(AttrType at, string newName, string strings[], int values[], int colors[], int mapping[], string &errmsg) It is of cause not described in DXL reference manual ![]() But be very carefull by using that function, it can remove values from Enum-Type as you want. But when this removed value is used in some Objects it will be reset to default value - without any entry in history! See attached code for an example of usage for your case ... I hope, that's you need ![]() Greetings Reik Schröder ------------------------- Evosoft GmbH for Siemens Industry Sector Berlin, Germany |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Modify Enum Type Values
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.