![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: System Attributes Topic Summary: How do you share Attributes in a project? Created On: 11-Jan-2007 16:52 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: Hi Melissa, if you are firm in using DXL you may have also a look into $doorshome/lib/dxl/utils/copyops.inc There is a function updateEnumeration__ defined which may do what you need. But be carefull if it is really what you need?! Be carefull with editing Enumerations at all, because when you change or delete values it is not shown in history of Objects! The deletion of an used value of enumeration can not be restored! I hope this helps you ... Greetings Reik | |
![]() |
|
I would like to create an attribute that consists of data stored in an Enumeration. I want the attribute to be shared between multiple modules, but the enumeration will continue to grow with the life of the project. Is there a way to share the data and have it updated throughout all the modules even though it is only being changed in one location? If I try to import the attribute, the new attribute will not update if the enumeration is later changed in another module.
Any help would be greatly appreciated. Thanks, Melissa Kirkland
Trajectory Server Flight Dynamics IVT United Space Alliance (NASA) |
|
![]() |
|
![]() |
|
The functinality you want is not built into doors.
You might search for the phrase "Change Enums" in this forum to see an approach other have taken. |
|
![]() |
|
![]() |
|
That is what I thought, but thanks for clarifying that for me. |
|
![]() |
|
![]() |
|
Hi Melissa,
if you are firm in using DXL you may have also a look into $doorshome/lib/dxl/utils/copyops.inc There is a function updateEnumeration__ defined which may do what you need. But be carefull if it is really what you need?! Be carefull with editing Enumerations at all, because when you change or delete values it is not shown in history of Objects! The deletion of an used value of enumeration can not be restored! I hope this helps you ... Greetings Reik ------------------------- Evosoft GmbH for Siemens Industry Sector Berlin, Germany |
|
![]() |
|
![]() |
|
Melissa,
Try the attached. It comes with a health warning, which is that it doesn't update modules that someone else has open, but it might be possible to work around that using config files and triggers, such that when an update fails, store the new enumerations in a config file, and have a 'module close' trigger read the config file and update the enumerations when the failing module closes. The reason I haven't completed the code so it does the above is that the demand here has gone away (for a while). So if you make it work, a return posting would be appreciated! Cheers, Paul. PS the include files can be made available if needed... ------------------------- Paul dot Tiplady at TRW dot com TRW Automotive |
|
![]() |
|
![]() |
|
Damn, I have a script that copies attributes from a 'template' module to all the modules in a Project. Never even thought that I could make my life simpler by adding an Open Module trigger.
I might work on this further, I dont want to run the update evert time someone opens a module, so I need to figure out something like an 'attributes updated date' module attribute (oh dear, I see a 'dog chasing own tail' problem there).
Will let you know how I get on.
Rgds
Andrew.
------------------------- Andrew Tagg Thales Air Systems, Melbourne Australia. andrew.tagg@thalesatm.com |
|
![]() |
Telelogic DOORS
» General Discussion
»
System Attributes
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.