Hi,
I am new to DXL scripting..
I would like to automate my DOORS works with the help of DXL.
I have following questions,
a) Is it possible to read a *.c file using DXL (My idea is to read the function names from a c file and create the objects for each and every function)
b) Is it possible to have a script for object hierarchy?
Also please let me know some websites/material for DXL because I found that the user manual is very tough for a beginners
-Rathna
RATHNA_KS - Wed Sep 14 06:24:11 EDT 2011 |
|
Re: DOORS DXL Objects OurGuest - Wed Sep 14 08:44:46 EDT 2011
Answer to question a is yes it is possible. Since you are new to dxl it might be easier to use another scripting language you already know to collect the data and then using either excel or msword enter the data into DOORS.
For question b -- it might help if you explain your needs more.
|
|
Re: DOORS DXL Objects llandale - Wed Sep 14 11:46:56 EDT 2011
The DXL manual is for 'reference'. You look up a command and it tells you, as briefly as possible, what that command does. Very little of it explains how the commands interact or gives otherwise useful information. A good way to get used to the manual is to look up commands that you already know how they work, so you can see the command syntax in the manual and get used to interpreting that.
I suggest you 'browse' for installed DXL, execute it, and then follow what its doing in the code itself. That should help get you used to how it works.
This forum is the best place for information. There is some old DXL tutorial out there which is also useful to get you started, but IIRC it had mistakes making it a bad place to go for 'reference'; but it remains a good place to get a good feel for how things work.
|
|
Re: DOORS DXL Objects RATHNA_KS - Thu Sep 15 01:29:40 EDT 2011 OurGuest - Wed Sep 14 08:44:46 EDT 2011
Answer to question a is yes it is possible. Since you are new to dxl it might be easier to use another scripting language you already know to collect the data and then using either excel or msword enter the data into DOORS.
For question b -- it might help if you explain your needs more.
Thanks for your valuable input.
As you suggested I have used PERL to extract the necessary data (function names).
The PERL script output looks like below format (XL Sheet)
1. File name
File description
1.1 Function name
Function description
1.1.1 Test 1
1.1.2 Test 2
While I use the import option in DOORS I did not get the proper document. I got sequence of objects could u please tell me how to import the XL content into DOORS
|
|
Re: DOORS DXL Objects SystemAdmin - Thu Sep 15 04:03:53 EDT 2011 RATHNA_KS - Thu Sep 15 01:29:40 EDT 2011
Thanks for your valuable input.
As you suggested I have used PERL to extract the necessary data (function names).
The PERL script output looks like below format (XL Sheet)
1. File name
File description
1.1 Function name
Function description
1.1.1 Test 1
1.1.2 Test 2
While I use the import option in DOORS I did not get the proper document. I got sequence of objects could u please tell me how to import the XL content into DOORS
If you already have data in that format in a DOORS module you could try to organize it to an object hierachy by
-
with a script in DOORS DXL Library, in a module menus select Tools / DXL Library, browse to "Some example programs" and run script "Example to move objects in to structure suggested by section numbers"
-
or with script "Build Hierarchy" http://www.galactic-solutions.com/GalacticDownloads.htm
|
|