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: Malazuru Dusar
Country: Puerto Rico
Language: English (Spanish)
Genre: Health and Food
Published (Last): 10 July 2008
Pages: 429
PDF File Size: 7.41 Mb
ePub File Size: 3.76 Mb
ISBN: 940-8-28493-748-6
Downloads: 88542
Price: Free* [*Free Regsitration Required]
Uploader: Zulunos

Post as a guest Name. Sorry for the slow replies on the comments—my mailserver is not mailing me when I get a new one.

Can u help me…, how can I to display an URL? We can look at every single object in the module one-by-one, or we can apply a filter. You would have to do this: Module has incoming links. Salas28 February 15, Kevin, Thank u. I think you are talking about editing a link module to see details—does the analysis wizard view in a module not work for you?

Baselines, Inc. DXL Tutorial – Part I – Baselines, Inc.

I need to create a small program in which: The code above needs to be run in an open module with an object selected. And the last question: However, I want to discuss what has already been done. You can count on me reading every word.

For now, the requirement is only to determine whether or not any objects have incoming links. If there is no attribute send error saying attribute does not exists.


The rutorial line of the program needs to be modified to include the extra information: In C, there are strings, reals, ints, bools, etc. We can all try to build this together.

The reference guide assumes that the tutoriak is only using the guide as a reference, so explanations are generally on the shorter side, and details are generally not scriptig given where they ought to be. Mike Develle September 28, Thanks … keep those tutorials coming!

You can perhaps hear that this is a compact way of indicating an Attribute of an Object. If you want to go down further, you could argue that objects also contain links, as links cannot exist without objects. Salas Log in to Reply.

When tutorrial declared integers, int was not capitalized. I declared integer variables for the number of objects accepted and rejected by the filter.

I will start looking in to the dxl link that you provided me.

I am new to blogging and hopefully will be able to update my style sheet to automatically number lines in included code.

If the design of the database changes, for instance if the name of the ‘Object Type’ Attribute had to be updated, maintenance would be trickier than it ought to be.

Thank you so much for this one!!! The reason for this is that DXL custom types are capitalized. If you know the basics—if statements, Boolean logic, etc, you will likely be able to learn some DXL from this tutorial.

Most of the time, filters are saved with views, so it is not a big deal that the filter goes away. I have a couple of suggestions: I shall do my best to document the reason for every single line of code.


I did not mean that all objects in the module should have an incoming link; rather I meant all filtered objects should have at least one incoming link.

tutorlal Thank you so much for your reply. You explained a number of topics that I had been making guesses about as a casual DXL user.

Use of DXL Scripts

The next command in the loop tests to see if the retrieved value, a string, is exactly equal to the string ‘Requirement’. Look up how to. Deb January 13, Kevin, This is such a great idea, and well done for sharing with people of various levels of expertise. By clicking “Post Your Answer”, you acknowledge that you have read our updated terms of serviceprivacy policy and cookie policyand that your continued use of the website is subject to these policies.

For a small program, it is efficient just to write and test the code to get it working in normal situations, and then to add features like pre-flight checks to help it behave properly if the context is wrong. This makes it different than many other languages. The next line contains just a closing curly bracket, indicating the end of the for loop.