ibm-doors

Is it possible to create a baseline for each module in a Folder using a dxl script (DOORS)?

僤鯓⒐⒋嵵緔 提交于 2019-12-25 07:21:45
问题 I need to create a "First Release" baseline for each module in a Folder, but I dont know if it is possible. Is, at least, possible to create a baseline for a one module each time? Thank you in advance 回答1: yes, it is quite straight forward. I assume that you basically know how to write DXL scripts, so here are just the main parts. Details and examples can always be found in the DXL manual or in the developerWorks forum for DXL (http://www.ibm.com/developerworks/community/forums/html/forum?id

what is a vba command to close read-only modules along with doors application itself

馋奶兔 提交于 2019-12-24 21:24:23
问题 Is there any command to close read only Doors modules and then close the doors application itself? 回答1: Closing the application itself is accomplish with the command: exit_ This will close your instance of DOORS. Use carefully- no DXL code after this call will be executed. 回答2: Additionally, in case you have not already solved that part: https://www.ibm.com/developerworks/community/forums/html/topic?id=7a01e109-c6a2-443b-a3df-15f781b70c08 shows how to connect to an existing DOORS application.

how to check if file is opened in excel using OLE (leaves excel process open)

对着背影说爱祢 提交于 2019-12-24 12:22:13
问题 how may I check if a file is already opened in some Excel instance? I use DXL (DOORS) language but it should be independent from this language. Is there any OLE method that I can call to check which file is opened and compare that with the path/filename? and if that is possible, can I close only that worksheet/file in that Excel application? edit: this is what I got till now, this works but only once. DXL leaves an Excel.exe process open and in next checks that instance is used which has no

DXL DOORS Retrieve Redlines from Specific History Version

点点圈 提交于 2019-12-24 10:55:58
问题 I am wondering if it is possible to retrieve only the redlines from a specific modification in a specific history version in DOORS using DXL? Specifically, I want a script to retrieve the most recent set of out-links added or removed by the current user. Psuedo-code might look like this: // Loop through all displayed objects in the current module for o in m do { // Loop through all baseline histories (no need to display baseline) for currHistory in o do { // If out-links were added/removed in

Why does DOORS show an error when creating a new Object in a Module via DXL?

…衆ロ難τιáo~ 提交于 2019-12-24 07:49:34
问题 I need to add occasionally Objects to a Module, depending on the needs via DXL for IBM DOORS. Only sometimes when trying to do this: Object newObj if (last(m) == null){ newObj = create(m) } else { newObj = create(last(m)) } An error in line newObj = create(last(m)) appears saying that the "Creation of objects is not the current Module**. It is once again strange, as sometimes appears, and sometimes not...I guess depending on the Module "status", maybe previously has not been correctly closed

In DOORS DXL, how do I use a regular expression to determine whether a string starts with a number?

≯℡__Kan透↙ 提交于 2019-12-24 02:22:51
问题 I need to determine whether a string begins with a number - I've tried the following to no avail: if (matches("^[0-9].*)", upper(text))) str = "Title""" I'm new to DXL and Regex - what am I doing wrong? 回答1: You need the caret character to indicate a match only at the start of a string. I added the plus character to match all the numbers, although you might not need it for your situation. If you're only looking for numbers at the start, and don't care if there is anything following, you don't

run DXL script on the background (command line) : DXL/DOORS

柔情痞子 提交于 2019-12-20 07:17:43
问题 I am trying to start a dxl script with command line. But i am getting lots of warnings and errors. When I try this script on doors gui , it works fine but when i try on this command line without gui, it doesn't. Here is the image of warnings : Here is the commandline script : "%ProgramFiles%\IBM\Rational\DOORS\9.3\bin\doors.exe" -d 36677@bie -u "xxx yyy" -P don -b "d:\workset\mc\addins\Devel\exporterRTF.dxl" Why it doesn't work with commandline ? Any help, idea etc is appreciated. EDIT : this

Creating links in DOORS using DXL

偶尔善良 提交于 2019-12-11 09:48:20
问题 I am using DOORS 8.3 and i want to create links DXL Can any one help me with the code. I have tried to find the presence of links in the module using DXL and it works properly. However I don't know the command to create links using DXL. 回答1: To create a link in DXL you need 3 pieces of information: string linkMod = /Project/Folder/LinkModuleName The full Link module path. Object src the source object Object tgt the Target object You must have edit access to the Source object when you create

how to keep track of object and object history information in a loop

时光总嘲笑我的痴心妄想 提交于 2019-12-11 05:49:35
问题 I'm writing a DXL script to extract history information from all objects and write some of the history parameters into other attributes (columns) in the DOORS module. I started out with the example script in the DXL Reference Manual (rev 9.6, near page 333), which just prints the information into the DXL editor window. I tried to add some code to write to the attribute _Reviewer -- see below. The code as written looks at the currently selected object rather than the one to which the current h

(DOORS/DXL) Export to pdf or print with a given template

百般思念 提交于 2019-12-10 15:16:20
问题 We are interested in export/print one view from formal module. As we want it can be an ofcial document we want to add our corporative template that have it own front page, and its own headers and footers pages with a given text font, size, and color, and inserted images (company symbol, clients ones). As far as I can see, DOORS let us print adding header&footer but without images. On the other side it is possible export to Word adding a template, but I can't do it directly to pdf format or to