![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: attribute generator Topic Summary: automatic dxl creation Created On: 5-Apr-2007 13:42 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Does anybody have a dxl script to read the attributes and views of an existing Formal Module which creates a new script which could be used to add them
![]() |
|
![]() |
|
![]() |
|
There are already scripts out there to copy attribute definitions from one module to another. I'm sure someone can share one with you. If you want something custom it's not hard to create one. Just create a script that, from the target module, lets you choose where you're getting attributes from, have it list the attributes, select the ones you want, and then copy the attribute definitions to the current module.
------------------------- David Pechacek AAI Services Textron dpechacek@sc-aaicorp.com David.Pechacek@gmail.com |
|
![]() |
|
![]() |
|
Hi Bernhard, ------------------------- Greetings,<BR>Oliver<BR><BR><BR>Oliver Roepke<BR>Axis Engineering AG, Munich |
|
![]() |
|
![]() |
|
Hi Oliver,
I'm thinking about option b).
I would like to do the following:
1. Open a Formal Module
2. Start a script which writes all attributes and views from the current module to a new dxl file (this script is what I'm looking for).
3. Put the script onto the Main Menu
4. Create new Formal Modules
5. Start the script from the Main Menu to import all predefined Attributes and Views to the new Modules.
-------------------
Greetings,
Bernhard
|
|
![]() |
|
![]() |
|
As David said there are scripts that will copy the attributes or views from one module (presumably a template) to another (presumably a new one).
You seem to be asking for a script that will read the attrs and views of a module and generate a new SCRIPT, that presumbably will be run on some other database. That's certainly doable but I think it would be a lot easier for you to have a pair of scripts; [1] that reads the views and attributes and saves the relevant info to a text fipoe [2] one that reads that text file and creates the views and attributes in the current module. Alternatively you could pretty easily 'clone' the source empty template module, archive it here and restore it there, then copy its views and attributes with existing scripts. - Louie |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
attribute generator
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.