![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Change Enumarated type using DXL Topic Summary: How to change enum type using DXL w/o loosing the content in the objects ?? Created On: 18-Sep-2008 15:30 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Hi
I would like to write code that will change the content of enumerated type (take the enum from Module A and place it in Module B). problems : in Module B, there *are* attributes using the type that is about to be changed. and there are values in it. I tried using modify(AttrType .....) but it kills all current values - even when the actual value list does not change at all. Please, Help ? |
|
![]() |
|
![]() |
|
What I've done in the past in situations such as this, is:
- create a new attribute type with the desired enumerations. - create a new attribute that utilizes the new attribute type. - copy the selections from the old attribute to the new attribute. - delete the old attribute and attribute type. - rename the new attribute and attribute type to reflect the old one. I think I may have had the same issue with the modify function, but I can't remember. It may have been prior to me finding the modify function and there might be something special you have to do to keep the current selections. I honestly am having a brain fart here and would have to go search through my scripts to find where I did this. ------------------------- Scott Boisvert Engineering Tools Administrator L-3 Communications - Avionics Systems scott.boisvert@l-3com.com |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Change Enumarated type using DXL
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.