These scripts are provided free of charge for the benefit of DOORS users. You may copy, modify or distribute any of these scripts as you wish, but please leave. The purpose of this series is to take a relatively simple script and add on to it and make it robust, providing a great DXL tutorial in the process. If someone in your company has already written some scripts in DXL, use them as reference. I had no formal training, the manual and some scripts were the only .

| Author: | Mezidal Fauzahn |
| Country: | Great Britain |
| Language: | English (Spanish) |
| Genre: | History |
| Published (Last): | 12 January 2011 |
| Pages: | 126 |
| PDF File Size: | 11.80 Mb |
| ePub File Size: | 6.62 Mb |
| ISBN: | 448-5-81288-638-6 |
| Downloads: | 92250 |
| Price: | Free* [*Free Regsitration Required] |
| Uploader: | Tosida |
George June 1, Just joined! This will let us reuse the code in other scripts very easily. Read it out aloud as ‘oh-dot-Object Type’. Dx next command in the loop tests to see if the retrieved value, a string, is exactly equal to the string ‘Requirement’. The purpose of this series is to take a relatively simple script and add on to it and make it robust, providing a great DXL tutorial in the process. This article has tried to illustrate the sketching and polishing process.
You can write recursive functions in DXL. You probably can, but there is no point. It does this by combining a general-purpose programming language with direct access to the data structures of DOORS itself.
This is a unary if statement. I will start looking in to the dxl link that you provided me. Does DXL accept recursive functions? I thought I explained this well, but apparently I did not. Thank you so much for this one!!!
This meaning is nice, as it corresponds closely to how you might specify a search or other logical operation on your requirements. The reason I bring it up in scriptijg first place is that there are just many different places to go to find critical information. Thank you so much for your reply.

ddl Do you have any suggestions on how to edit the DXL to do show these relationships? Mike Develle September 28, Thanks … keep those tutorials coming!

We can all try to build this together. I mean, will this command kill all views, so the users will need to reconstruct them? If wcripting design of the database changes, for instance if the name tuttorial the ‘Object Type’ Attribute had to be updated, maintenance would be trickier than it ought to be. Now we just need to set the filter and turn filtering on and see what we get.
Log in to Reply.
Extending Rational DOORS with DXL
And the last question: Please leave me comments and ask as many questions sxripting possible. We can tuutorial at every single object in the module one-by-one, or we can apply a filter. Twonky 5 So we just need to print out whether we do. You can, for example, filter on a user-defined Attribute named ‘Object Type’ to view only those Objects that are marked as requirements, and look at the Results display to see how many requirements you have.
Getting Started with DXL
Kevin Log in to Reply. The loop actually ignores Objects that are concealed by filtering, outlining, or by being at a level below the limit set by the user in the box that normally displays ‘All levels’. Most of the time, filters are saved with views, so it is not a big deal that the filter goes away. The retrieval is specified by the ‘. If it exists in standard C, then it is not capitalized in DXL. I still have tons of opinions on DOORS and Requirements Management, but unfortunately have to focus on some personal items at the present time.
I did not mean that all objects in the module should have an incoming link; rather I meant all yutorial objects should have at least one incoming link. Dx, is recursion more economic than loop, when talking about memory? The script can be modified to have a variable contain the current filter, then be run, scriptlng set that filter back.
Use of DXL Scripts
You still have to use some other loops like for o in entire m and that could be wrong—I am doing this off the top of my head. I need to create a small program in which: Before we apply it, we have to define it.
Kevin February 16, Salas, You need to give me the error message in order to help you out. The above code, whichever if statement method is used, will print out true or false in the DXL Interaction window, even if the DXL Interaction window is not being displayed. How can I run the DXL leaving views when opening contents? Kevin June 5, Sorry for the slow replies on the comments—my mailserver is not mailing me when I get a new one.
Stack Overflow works best with JavaScript enabled. Finally, notice where we define the actual filter. Deb January 13, Kevin, This is such a great idea, and well done for sharing with people of various levels of expertise. The first thing to get out of the way is how to format the comments at the beginning of the file. You should acquire the DXL manual, e. Notice that Filter is capitalized. Please note that I just made that if statement up.
