ibm-doors

Wanted: DXL code to export OLE object to Excel and specify “Placement” parameter

倾然丶 夕夏残阳落幕 提交于 2021-01-28 20:44:51
问题 I have working DXL code to export a DOORS module to Excel, including sizing pictures and placing them over the desired cell. (Slightly modified version of GalacticSolutions script ). The default export so far as I can tell applies the parameter "Move but do not size with cell." I'd like to specify "Move and size with cell." This is easy enough to do with an Excel VB macro after the export, but I'd like to avoid that step. I'm hoping there's some Oleput() string that will do this, but can't

What are some common reasons for why a DXL script would work in DOORS but not when it's run in batch mode?

怎甘沉沦 提交于 2021-01-28 07:46:35
问题 I have a dxl script that works when run in the DOORS application but does not work when it's run in batch mode. I am not sure why this would be. When running in batch mode I get the following error: doors: assertion failed, line 3173, document.cpp: !nls_("unexpected: tree root does not have a name attribute") stack I know that creating a GUI and things like that might cause this error but I am not doing that. The odd thing is that the script stops running in different modules and different

Rational Doors 9.6 interfacing with C#

左心房为你撑大大i 提交于 2020-05-27 09:41:14
问题 I am using Rational Doors 9.6 as client. I try to integrate a feature in my C# program such is using Doors C API, to open a view and get some data in memory for further using. This includes login to Doors server with windows credentials. Actually, I have to start Doors Client, open that view, do a excel export, then do a C# import which is not quite the elegant way. I am not Doors expert so all I need is a opinion, since API is in C and I'm not sure this is the way, or just using DXL server

Rational Doors 9.6 interfacing with C#

浪子不回头ぞ 提交于 2020-05-27 09:41:02
问题 I am using Rational Doors 9.6 as client. I try to integrate a feature in my C# program such is using Doors C API, to open a view and get some data in memory for further using. This includes login to Doors server with windows credentials. Actually, I have to start Doors Client, open that view, do a excel export, then do a C# import which is not quite the elegant way. I am not Doors expert so all I need is a opinion, since API is in C and I'm not sure this is the way, or just using DXL server

Rational Doors 9.6 interfacing with C#

家住魔仙堡 提交于 2020-05-27 09:39:03
问题 I am using Rational Doors 9.6 as client. I try to integrate a feature in my C# program such is using Doors C API, to open a view and get some data in memory for further using. This includes login to Doors server with windows credentials. Actually, I have to start Doors Client, open that view, do a excel export, then do a C# import which is not quite the elegant way. I am not Doors expert so all I need is a opinion, since API is in C and I'm not sure this is the way, or just using DXL server

Create object link to different DOORS project

风流意气都作罢 提交于 2020-01-15 12:19:27
问题 Apparently, links are not supposed to connect objects of modules which reside in different projects. I failed trying to create some, both manually as well as DXL-based. My script Module modA = edit("/foo/foo", true, false) Module modB = read("/bar/bar", false) Object objA = object(1472, modA) Object objB = object(781, modB) objA -> objB The script prints the error: -R-E- DXL: <Line:78> A linkset pairing restriction prevents the creation of links from /foo/foo to /bar/bar. No link will be

How to give Exclusive edit permissions?

白昼怎懂夜的黑 提交于 2020-01-07 03:02:08
问题 a few days ago i developed a script in dxl to make a "first release" Baseline for each module in a project folder. But when I run the script appears a message saying I have not permissions to do so. This is my code: void CreateBaseline (Module mod) { // Function to create create (mod, nextMajor(), "First Release") // baseline } Folder fStart = folder "/Z_Training/Baselines" // Folder Module iCurrent // Module handler for iCurrent in fStart do{ setExclusive() // Set Exclusive edit Module

Java program for IBM Doors

吃可爱长大的小学妹 提交于 2019-12-25 18:19:07
问题 I recently started using IBM Doors program, I also did start writing scripts for it in DXL. However when I checked the eclipse main page, I realized that a tool called MDAccess for Doors exsists. My question is that is it possible to write code in java for Doors if so, what are the disadvantages compared to DXL? 回答1: Yes, it is possible to write Java code for DOORS. You already found the solution: MDAccess is a commercial product provided by Sodius. According to the product specs and some

How to find and export the DOORS ID value?

时光怂恿深爱的人放手 提交于 2019-12-25 09:09:05
问题 I found a script to export to LaTeX, but at least with the module and DOORS installation at my company (DOORS9.6 via a remote server) , I get an error when trying to execute. The error occurs at the line // ------------------- Handle Requirements objects Text ----------- puid = obj."IE PUID" The error message is -R-E- DXL: unknown Object attribute (IE PUID) If I comment out that line, the script runs w/o error and exports a LaTeX source file. Problem is, of course, that I need the text of